PropertyDescriptorCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PropertyDescriptorCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| PropertyDescriptorCollection(PropertyDescriptor[]) |
初始化 PropertyDescriptorCollection 類別的新執行個體。 |
| PropertyDescriptorCollection(PropertyDescriptor[], Boolean) |
初始化該類別的新實例,該實例 PropertyDescriptorCollection 可選擇性地只讀。 |
PropertyDescriptorCollection(PropertyDescriptor[])
初始化 PropertyDescriptorCollection 類別的新執行個體。
public:
PropertyDescriptorCollection(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ properties);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties);
new System.ComponentModel.PropertyDescriptorCollection : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
Public Sub New (properties As PropertyDescriptor())
參數
- properties
- PropertyDescriptor[]
一個型別 PropertyDescriptor 的陣列,提供此集合的屬性。
另請參閱
適用於
PropertyDescriptorCollection(PropertyDescriptor[], Boolean)
初始化該類別的新實例,該實例 PropertyDescriptorCollection 可選擇性地只讀。
public:
PropertyDescriptorCollection(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ properties, bool readOnly);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties, bool readOnly);
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties, bool readOnly);
new System.ComponentModel.PropertyDescriptorCollection : System.ComponentModel.PropertyDescriptor[] * bool -> System.ComponentModel.PropertyDescriptorCollection
Public Sub New (properties As PropertyDescriptor(), readOnly As Boolean)
參數
- properties
- PropertyDescriptor[]
一個型別 PropertyDescriptor 的陣列,提供此集合的屬性。
- readOnly
- Boolean
若 true,則指定集合不可修改。