RanorexRanorex Documentation
IsSimilar Method (a, b, warnCount, provider)
NamespacesRanorex.CoreRxPathIsSimilar(RxPath, RxPath, Int32%, IDataProvider)
Determines whether two paths are similar. Per definition, paths are similar if they could yield an intersecting set of result elements.
Declaration Syntax
C#Visual BasicVisual C++
public static bool IsSimilar(
	RxPath a,
	RxPath b,
	out int warnCount,
	IDataProvider provider
)
Public Shared Function IsSimilar ( _
	a As RxPath, _
	b As RxPath, _
	<OutAttribute> ByRef warnCount As Integer, _
	provider As IDataProvider _
) As Boolean
public:
static bool IsSimilar(
	RxPath^ a, 
	RxPath^ b, 
	[OutAttribute] int% warnCount, 
	IDataProvider^ provider
)
Parameters
a (RxPath)
The first path.
b (RxPath)
The second path.
warnCount ( Int32 %)
The warn count is set to the number of significant differences both paths have (but are not a contradiction per se).
provider (IDataProvider)
The data provider to use to resolve variable values.
Return Value
true if the specified the paths are similar; otherwise, false.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)