PropertyDescriptorCollection PropertyDescriptorCollection PropertyDescriptorCollection PropertyDescriptorCollection Constructors

定義

多載

PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[])

初始化 PropertyDescriptorCollection 類別的新執行個體。Initializes a new instance of the PropertyDescriptorCollection class.

PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

初始化 PropertyDescriptorCollection 類別的新執行個體,可以選擇這個類別是否為唯讀。Initializes a new instance of the PropertyDescriptorCollection class, which is optionally read-only.

PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[]) PropertyDescriptorCollection(PropertyDescriptor[])

初始化 PropertyDescriptorCollection 類別的新執行個體。Initializes a new instance of the PropertyDescriptorCollection class.

public:
 PropertyDescriptorCollection(cli::array <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 型別的陣列,提供這個集合的屬性。An array of type PropertyDescriptor that provides the properties for this collection.

另請參閱

PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean) PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

初始化 PropertyDescriptorCollection 類別的新執行個體,可以選擇這個類別是否為唯讀。Initializes a new instance of the PropertyDescriptorCollection class, which is optionally read-only.

public:
 PropertyDescriptorCollection(cli::array <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 型別的陣列,提供這個集合的屬性。An array of type PropertyDescriptor that provides the properties for this collection.

readOnly
Boolean Boolean Boolean Boolean

如果是 true,表示無法修改集合。If true, specifies that the collection cannot be modified.

另請參閱

適用於