PropertyDescriptorCollection.Insert Method (Int32, PropertyDescriptor)

 

Adds the PropertyDescriptor to the collection at the specified index number.

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

public void Insert(
	int index,
	PropertyDescriptor value
)

Parameters

index
Type: System.Int32

The index at which to add the value parameter to the collection.

value
Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor to add to the collection.

Exception Condition
NotSupportedException

The collection is read-only.

.NET Framework
Available since 1.1
Return to top
Show: