PropertyDescriptorCollection.Insert(Int32, PropertyDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.