Click or drag to resize
Ranorex

FlavorElementCanReplace Method

Returns a value specifying if this flavor element can replace elem.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public virtual bool CanReplace(
	FlavorElement elem
)

Parameters

elem
Type: Ranorex.CoreFlavorElement
The element to replace.

Return Value

Type: Boolean
True if this flavor element can replace elem, otherwise false.
Remarks
The base method returns true if this flavor element IsEqual(FlavorElement) to elem.
See Also