UITestPropertyDescriptor 构造函数 (Type, String)

使用默认读取权限初始化 UITestPropertyDescriptor 类的新实例。

命名空间:  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 Sub New ( _
    dataType As Type, _
    category As String _
)
public UITestPropertyDescriptor(
    Type dataType,
    string category
)
public:
UITestPropertyDescriptor(
    Type^ dataType, 
    String^ category
)
new : 
        dataType:Type * 
        category:string -> UITestPropertyDescriptor
public function UITestPropertyDescriptor(
    dataType : Type, 
    category : String
)

参数

  • dataType
    类型:Type

    属性值的数据类型。

  • category
    类型:String

    属性所属的类别。

.NET Framework 安全性

请参阅

参考

UITestPropertyDescriptor 类

UITestPropertyDescriptor 重载

Microsoft.VisualStudio.TestTools.UITesting 命名空间