PropertyDescriptorCollection Constructor (PropertyDescriptor[], Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public PropertyDescriptorCollection(
	PropertyDescriptor[] properties,
	bool readOnly
)

Parameters

properties
Type: 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: