PropertyDescriptorCollection.Insert(Int32, PropertyDescriptor) 方法
定义
将 PropertyDescriptor 添加到集合中指定的索引号位置。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)
参数
- index
- Int32
向集合中其所在位置添加 value 参数的索引。The index at which to add the value parameter to the collection.
- value
- PropertyDescriptor
要添加到集合中的 PropertyDescriptor。The PropertyDescriptor to add to the collection.
例外
该集合是只读的。The collection is read-only.