Builds a RanoreXPath for a given element.
| C# | Visual Basic | Visual C++ |
public static RxPath BuildElementPath( Element relativeParent, Element element, PathBuildMode mode )
Public Shared Function BuildElementPath ( _ relativeParent As Element, _ element As Element, _ mode As PathBuildMode _ ) As RxPath
public: static RxPath^ BuildElementPath( Element^ relativeParent, Element^ element, PathBuildMode mode )
- relativeParent (Element)
- The ancestor element to which the path should be relative to. If this parameter is null, an absolute path is built.
- element (Element)
- The node to build the path for.
- mode (PathBuildMode)
- The path building mode. This basically controls the degree of optimization applied to the path.
The path of the specified element relative to the specified parent element.
