 | AdapterFindSingleT Method (RxPath) |
Applies a Ranorex Path to the adapter, returning a specific adapter type (e.g. Role or Capability).
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 10.2.5+git.08880485
Syntaxpublic T FindSingle<T>(
RxPath path
)
where T : Adapter
Public Function FindSingle(Of T As Adapter) (
path As RxPath
) As T
Parameters
- path
- Type: Ranorex.CoreRxPath
The RxPath to apply.
Type Parameters
- T
- The expected adapter type. The supplied type must inherit from Adapter,
but most not be the Adapter type itself.
Return Value
Type:
T
The first element found converted to the specified adapter type.
Implements
IAdapterFindSingleT(RxPath)
Exceptions
See Also