PropertyDescriptorCollection 建構函式

定義

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

多載

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,表示無法修改集合。

另請參閱

適用於