PropertyDescriptorCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[])
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)
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.