語言

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

定義

關於此成員的描述,請參見方法。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);
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 。

value
Object

將 Object 插入 IList.

實作

備註

此方法是一種明確的介面成員實作。 它只能在實 ArrangedElementCollection 例投射到 IList 介面時使用。

適用於