RanorexRanorex Documentation
GetPath Method (buildMode, relativeToElement)
NamespacesRanorex.CoreElementGetPath(PathBuildMode, Element)
Builds an RxPath to the element, relative to another element.
Declaration Syntax
C#Visual BasicVisual C++
public RxPath GetPath(
	PathBuildMode buildMode,
	Element relativeToElement
)
Public Function GetPath ( _
	buildMode As PathBuildMode, _
	relativeToElement As Element _
) As RxPath
public:
RxPath^ GetPath(
	PathBuildMode buildMode, 
	Element^ relativeToElement
)
Parameters
buildMode (PathBuildMode)
Specifies how the path should be built. (optimization vs. runtime tradeoff)
relativeToElement (Element)
The element to which the path is relative to.
Return Value
The path of the element.

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