IUITechnologyElement.GetNativeControlType(NativeControlTypeKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.