共用方式為


UITechnologyElement.GetNativeControlType 方法

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Public MustOverride Function GetNativeControlType ( _
    nativeControlTypeKind As NativeControlTypeKind _
) As Object
public abstract Object GetNativeControlType(
    NativeControlTypeKind nativeControlTypeKind
)
public:
virtual Object^ GetNativeControlType(
    NativeControlTypeKind nativeControlTypeKind
) abstract
abstract GetNativeControlType : 
        nativeControlTypeKind:NativeControlTypeKind -> Object
public abstract function GetNativeControlType(
    nativeControlTypeKind : NativeControlTypeKind
) : Object

參數

傳回值

類型:Object

實作

IUITechnologyElement.GetNativeControlType(NativeControlTypeKind)

.NET Framework 安全性

請參閱

參考

UITechnologyElement 類別

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間