UITestPropertyDescriptor 构造函数 (Type, UITestPropertyAttributes, String)

使用指定的权限和类别初始化 UITestPropertyDescriptor 类的新实例。

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

语法

声明
Public Sub New ( _
    dataType As Type, _
    attributes As UITestPropertyAttributes, _
    category As String _
)
public UITestPropertyDescriptor(
    Type dataType,
    UITestPropertyAttributes attributes,
    string category
)
public:
UITestPropertyDescriptor(
    Type^ dataType, 
    UITestPropertyAttributes attributes, 
    String^ category
)
new : 
        dataType:Type * 
        attributes:UITestPropertyAttributes * 
        category:string -> UITestPropertyDescriptor
public function UITestPropertyDescriptor(
    dataType : Type, 
    attributes : UITestPropertyAttributes, 
    category : String
)

参数

  • dataType
    类型:System.Type
    属性值的数据类型。

.NET Framework 安全性

请参见

参考

UITestPropertyDescriptor 类

UITestPropertyDescriptor 重载

Microsoft.VisualStudio.TestTools.UITesting 命名空间