Edit

Share via


PropertyDescriptorCollection Constructors

Definition

Initializes a new instance of the PropertyDescriptorCollection class.

Overloads

PropertyDescriptorCollection(PropertyDescriptor[])

Initializes a new instance of the PropertyDescriptorCollection class.

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

Initializes a new instance of the PropertyDescriptorCollection class, which is optionally read-only.

PropertyDescriptorCollection(PropertyDescriptor[])

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

Initializes a new instance of the PropertyDescriptorCollection class.

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())

Parameters

properties
PropertyDescriptor[]

An array of type PropertyDescriptor that provides the properties for this collection.

See also

Applies to

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

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);
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)

Parameters

properties
PropertyDescriptor[]

An array of type PropertyDescriptor that provides the properties for this collection.

readOnly
Boolean

If true, specifies that the collection cannot be modified.

See also

Applies to