PropertyDescriptorCollection.IList.Insert(Int32, Object) 方法

定义

将某个项插入到集合中的指定索引处。Inserts an item into the collection at a specified index.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

参数

index
Int32

应插入 value 的从零开始的索引。The zero-based index at which value should be inserted.

value
Object

要插入到集合中的项。The item to insert into the collection.

实现

例外

该集合是只读的。The collection is read-only.

适用于