 | AdapterCreate Method (Type, 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 Adapter Create(
Type adapterType,
Element element
)
Public Shared Function Create (
adapterType As Type,
element As Element
) As Adapter
Parameters
- adapterType
- Type: SystemType
The type of adapter to construct. The supplied type must inherit from Adapter,
but must not be the Adapter type itself. - element
- Type: Ranorex.CoreElement
The element associated with the adapter.
Return Value
Type:
AdapterThe adapter instance.
Exceptions
See Also