語言

ListBox.SelectedObjectCollection.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
Object

要插入 ListBox.SelectedObjectCollection的物件。

實作

備註

此成員為明確介面成員實作。 它只能在實 ListBox.SelectedObjectCollection 例投射到 IList 介面時使用。

適用於