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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。