 | IElementAsT Method |
Returns an adapter of the specified type for the element.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
SyntaxT As<T>()
where T : Adapter
Function As(Of T As Adapter) As T
Type Parameters
- T
- The adapter type. The supplied type must inherit from Adapter,
but most not be the Adapter type itself.
Return Value
Type:
TThe specified adapter for the element or
null if the
element does not provide the capabilities required for the adapter.
See Also