共用方式為


DataViewPropertyDescriptor 建構函式 (String, array<Attribute[])

DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱和屬性。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    ParamArray attributes As Attribute() _
)
public DataViewPropertyDescriptor(
    string name,
    params Attribute[] attributes
)
public:
DataViewPropertyDescriptor(
    String^ name, 
    ... array<Attribute^>^ attributes
)
new : 
        name:string * 
        attributes:Attribute[] -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
    name : String, 
    ... attributes : Attribute[]
)

參數

  • name
    類型:String

    屬性名稱。

  • attributes
    類型:array<Attribute[]

    包含屬性 (Property) 之屬性 (Attribute) 陣列。

.NET Framework 安全性

請參閱

參考

DataViewPropertyDescriptor 類別

DataViewPropertyDescriptor 多載

Microsoft.VisualStudio.Data.Framework 命名空間