語言

PropertyDescriptorCollection 建構函式

定義

初始化 PropertyDescriptorCollection 類別的新執行個體。

多載

名稱 Description
PropertyDescriptorCollection(PropertyDescriptor[])

初始化 PropertyDescriptorCollection 類別的新執行個體。

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

初始化該類別的新實例,該實例 PropertyDescriptorCollection 可選擇性地只讀。

PropertyDescriptorCollection(PropertyDescriptor[])

來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs

初始化 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.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs
來源:
PropertyDescriptorCollection.cs

初始化該類別的新實例,該實例 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,則指定集合不可修改。

另請參閱

適用於