The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyElement::GetNativeControlType Method (NativeControlTypeKind)
Returns the native control type of this element.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual Object^ GetNativeControlType( NativeControlTypeKind nativeControlTypeKind ) abstract
Parameters
- nativeControlTypeKind
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::NativeControlTypeKind
A member of the NativeControlTypeKind enumeration.
This GetNativeControlType method can be used in tandem with the universal type that is obtained by using the ControlTypeName when just the ControlTypeName is not enough to differentiate a control. For example, if the native technology is HTML, this method could return the tag name.
Show: