This documentation is archived and is not being maintained.

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)

Object GetNativeControlType(
	NativeControlTypeKind nativeControlTypeKind
)

Parameters

nativeControlTypeKind
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.NativeControlTypeKind
A member of the NativeControlTypeKind enumeration.

Return Value

Type: System.Object
If supported, the native type of the control; otherwise, null.

Show: