RanorexRanorex Documentation
FindChild<(Of <(<'T>)>)> Method (defaultLabel)
NamespacesRanorexAdapterFindChild<(Of <<'(T>)>>)(String)
Finds an immediate child element of the given capability adapter type with a specific label.
Declaration Syntax
C#Visual BasicVisual C++
public T FindChild<T>(
	string defaultLabel
)
where T : Adapter
Public Function FindChild(Of T As Adapter) ( 
	defaultLabel As String
) As T
public:
generic<typename T>
where T : Adapter
T FindChild(
	String^ defaultLabel
)
Generic Template Parameters
T
The adapter type to use. The supplied type must inherit from Adapter, but most not be the Adapter type itself.
Parameters
defaultLabel (String)
The label to search by ('defaultlabel' attribute).
Return Value
T
The matching element adapter.
Exceptions
ExceptionCondition
ElementNotFoundExceptionIf no element is found.

Assembly: Ranorex.Core (Module: Ranorex.Core.dll) Version: 4.0.4.23593 (4.0.4.23593)