PropertyDescriptorCollection Constructor (array<PropertyDescriptor^>^, Boolean)

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
PropertyDescriptorCollection(
	array<PropertyDescriptor^>^ properties,
	bool readOnly
)

Parameters

properties
Type: array<System.ComponentModel::PropertyDescriptor^>^

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

readOnly
Type: System::Boolean

If true, specifies that the collection cannot be modified.

.NET Framework
Available since 2.0
Return to top
Show: