Tries to apply a Ranorex Path to the adapter, returning a specific adapter type (e.g. Role or Capability).
| C# | Visual Basic | Visual C++ |
Public Function TryFindSingle(Of T As Adapter) ( _ path As RxPath, _ <OutAttribute> ByRef foundAdapter As T _ ) As Boolean
public: generic<typename T> where T : Adapter bool TryFindSingle( RxPath^ path, [OutAttribute] T% foundAdapter )
True if an element is found for the specified path and
the specified adapter type could be created, otherwise false.
