UITestControl.ControlType 属性

获取 UI 控件的类型。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
Public Overridable ReadOnly Property ControlType As ControlType
    Get
public virtual ControlType ControlType { get; }
public:
virtual property ControlType^ ControlType {
    ControlType^ get ();
}
abstract ControlType : ControlType
override ControlType : ControlType
function get ControlType () : ControlType

属性值

类型:Microsoft.VisualStudio.TestTools.UITesting.ControlType
UI 控件的类型。

.NET Framework 安全性

请参见

参考

UITestControl 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间