IUITechnologyElement.GetNativeControlType(NativeControlTypeKind) Method

Definition

Returns the native control type of this element.

public:
 System::Object ^ GetNativeControlType(Microsoft::VisualStudio::TestTools::UITest::Extension::NativeControlTypeKind nativeControlTypeKind);
public object GetNativeControlType (Microsoft.VisualStudio.TestTools.UITest.Extension.NativeControlTypeKind nativeControlTypeKind);
abstract member GetNativeControlType : Microsoft.VisualStudio.TestTools.UITest.Extension.NativeControlTypeKind -> obj
Public Function GetNativeControlType (nativeControlTypeKind As NativeControlTypeKind) As Object

Parameters

nativeControlTypeKind
NativeControlTypeKind

A member of the NativeControlTypeKind enumeration.

Returns

If supported, the native type of the control; otherwise, null.

Applies to