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: