 | IElementTryFindSingle Method (RxPath, Element) |
Tries to apply a Ranorex Path to the element.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxbool TryFindSingle(
RxPath path,
out Element foundElement
)
Function TryFindSingle (
path As RxPath,
<OutAttribute> ByRef foundElement As Element
) As Boolean
Parameters
- path
- Type: Ranorex.CoreRxPath
The RxPath to apply. - foundElement
- Type: Ranorex.CoreElement
The first element found or null if no element is found.
Return Value
Type:
BooleanTrue if an element is found for the specified
path,
otherwise
false.
See Also