ToolStripItemCollection.IList.Insert(Int32, Object) ToolStripItemCollection.IList.Insert(Int32, Object) ToolStripItemCollection.IList.Insert(Int32, Object) Method

定义

将某个项插入到集合中的指定索引处。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);
Sub Insert (index As Integer, value As Object) Implements IList.Insert

参数

index
Int32 Int32 Int32

从零开始的索引,在该处插入 valueThe zero-based index at which to insert value.

value
Object Object Object

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

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ToolStripItemCollection 实例被强制转换为 IList 接口时使用。It can be used only when the ToolStripItemCollection instance is cast to an IList interface.

适用于