DataViewPropertyDescriptor 建構函式 (PropertyDescriptor, array<Attribute[])
DataViewPropertyDescriptor 和初始化類別的新執行個體的屬性描述項物件的屬性。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Public Sub New ( _
baseDescriptor As PropertyDescriptor, _
ParamArray newAttributes As Attribute() _
)
public DataViewPropertyDescriptor(
PropertyDescriptor baseDescriptor,
params Attribute[] newAttributes
)
public:
DataViewPropertyDescriptor(
PropertyDescriptor^ baseDescriptor,
... array<Attribute^>^ newAttributes
)
new :
baseDescriptor:PropertyDescriptor *
newAttributes:Attribute[] -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
baseDescriptor : PropertyDescriptor,
... newAttributes : Attribute[]
)
參數
baseDescriptor
類型:PropertyDescriptor表示基底 PropertyDescriptor 描述項的物件。
newAttributes
類型:array<Attribute[]屬性 (Attribute) 的屬性 (Property)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。