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

定義

在指定的索引位置,插入項目至集合之中。

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

參數

index
Int32

插入 value 處之以零起始的索引。

value
Object

要插入集合中的項目。

實作

備註

這個成員是明確介面成員實作, 只有在 ToolStripItemCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於