RanorexRanorex Documentation
TryFindSingle Method (path, timeout, foundElement)
NamespacesRanorexAdapterTryFindSingle(RxPath, Duration, Element%)
Tries to apply a Ranorex Path to the adapter, returning an Element.
Declaration Syntax
C#Visual BasicVisual C++
public bool TryFindSingle(
	RxPath path,
	Duration timeout,
	out Element foundElement
)
Public Function TryFindSingle ( _
	path As RxPath, _
	timeout As Duration, _
	<OutAttribute> ByRef foundElement As Element _
) As Boolean
public:
bool TryFindSingle(
	RxPath^ path, 
	Duration^ timeout, 
	[OutAttribute] Element^% foundElement
)
Parameters
path (RxPath)
The RxPath to apply.
timeout (Duration)
The time to keep looking for the element.
foundElement ( Element %)
The first element found or null if no element is found within the timeout.
Return Value
True if an element is found for the specified path within the specified timeout, otherwise false.

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