PropertyDescriptorCollection.Insert(Int32, PropertyDescriptor) Method

Definition

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

public:
 void Insert(int index, System::ComponentModel::PropertyDescriptor ^ value);
public void Insert (int index, System.ComponentModel.PropertyDescriptor value);
member this.Insert : int * System.ComponentModel.PropertyDescriptor -> unit
Public Sub Insert (index As Integer, value As PropertyDescriptor)

Parameters

index
Int32

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

value
PropertyDescriptor

The PropertyDescriptor to add to the collection.

Exceptions

The collection is read-only.

Applies to