Finds a descendant of the given capability adapter type with a specific label.

Declaration Syntax
public T FindDescendant<T>(
string defaultLabel
)
where T : Adapter
Public Function FindDescendant(Of T As Adapter) ( _
defaultLabel As String _
) As T
public:
generic<typename T>
where T : Adapter
T FindDescendant(
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
The matching element adapter.

Exceptions
Assembly:
Ranorex.Core (Module: Ranorex.Core) Version: 3.2.1.15734 (3.2.1.15734)