IUITechnologyElement.GetNativeControlType Method
Returns the native control type of this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Function GetNativeControlType ( _
nativeControlTypeKind As NativeControlTypeKind _
) As Object
Object GetNativeControlType(
NativeControlTypeKind nativeControlTypeKind
)
Object^ GetNativeControlType(
NativeControlTypeKind nativeControlTypeKind
)
abstract GetNativeControlType :
nativeControlTypeKind:NativeControlTypeKind -> Object
function GetNativeControlType(
nativeControlTypeKind : NativeControlTypeKind
) : Object
Parameters
nativeControlTypeKind
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.NativeControlTypeKindA member of the NativeControlTypeKind enumeration.
Return Value
Type: Object
If supported, the native type of the control; otherwise, nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.