共用方式為


UITestPropertyDescriptor 建構函式 (Type, UITestPropertyAttributes)

不使用分類,初始化 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, _
    attributes As UITestPropertyAttributes _
)
public UITestPropertyDescriptor(
    Type dataType,
    UITestPropertyAttributes attributes
)
public:
UITestPropertyDescriptor(
    Type^ dataType, 
    UITestPropertyAttributes attributes
)
new : 
        dataType:Type * 
        attributes:UITestPropertyAttributes -> UITestPropertyDescriptor
public function UITestPropertyDescriptor(
    dataType : Type, 
    attributes : UITestPropertyAttributes
)

參數

  • dataType
    類型:Type

    屬性值的資料型別。

.NET Framework 安全性

請參閱

參考

UITestPropertyDescriptor 類別

UITestPropertyDescriptor 多載

Microsoft.VisualStudio.TestTools.UITesting 命名空間