ListBox.SelectedObjectCollection.IList.Insert(Int32, Object) 方法

定義

如需這個成員的說明,請參閱 Insert(Int32, Object)For a description of this member, see 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);
Sub Insert (index As Integer, value As Object) Implements IList.Insert

參數

index
Int32

應該插入物件處之以零啟始的索引。The zero-based index at which the object should be inserted.

value
Object

要插入 ListBox.SelectedObjectCollection 的物件。The object to insert into the ListBox.SelectedObjectCollection.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ListBox.SelectedObjectCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the ListBox.SelectedObjectCollection instance is cast to an IList interface.

適用於