UITestPropertyProvider.GetPropertyNamesClassType 方法

在派生类中重写时,为向给定控件提供属性名称的类返回 Type

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

语法

声明
Public MustOverride Function GetPropertyNamesClassType ( _
    uiTestControl As UITestControl _
) As Type
public abstract Type GetPropertyNamesClassType(
    UITestControl uiTestControl
)
public:
virtual Type^ GetPropertyNamesClassType(
    UITestControl^ uiTestControl
) abstract
abstract GetPropertyNamesClassType : 
        uiTestControl:UITestControl -> Type
public abstract function GetPropertyNamesClassType(
    uiTestControl : UITestControl
) : Type

参数

返回值

类型:Type
为给定控件提供属性名称的类的 Type

.NET Framework 安全性

请参阅

参考

UITestPropertyProvider 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

UITestControl

其他资源

启用控件的编码的 UI 测试