 | AdapterCreateT Method (Element) |
Constructs an adapter of a specific type for a given element.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static T Create<T>(
Element element
)
where T : Adapter
Public Shared Function Create(Of T As Adapter) (
element As Element
) As T
Parameters
- element
- Type: Ranorex.CoreElement
The element associated with the adapter.
Type Parameters
- T
- The type of adapter to construct. The supplied type must inherit from Adapter,
but most not be the Adapter type itself.
Return Value
Type:
TThe adapter instance.
Exceptions
See Also