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

Return Value

Type: Object
If supported, the native type of the control; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace