Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyDescriptorCollection::Add Method (PropertyDescriptor^)

 

Adds the specified PropertyDescriptor to the collection.

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

public:
int Add(
	PropertyDescriptor^ value
)

Parameters

value
Type: System.ComponentModel::PropertyDescriptor^

The PropertyDescriptor to add to the collection.

Return Value

Type: System::Int32

The index of the PropertyDescriptor that was added to the collection.

Exception Condition
NotSupportedException

The collection is read-only.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft