 | NativeItem Conversion (Element to NativeItem) |
Implicitly converts an
Element to an instance of this class.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Win32 (in Ranorex.Plugin.Win32.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static implicit operator NativeItem (
Element element
)
Public Shared Widening Operator CType (
element As Element
) As NativeItem
Parameters
- element
- Type: Ranorex.CoreElement
The element to convert.
Return Value
Type:
NativeItemThe NativeItem.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If element is null. |
| CapabilityNotSupportedException | If the element does not support the
capabilities required by this adapter. |
See Also