ImageList.ImageCollection.IList.Insert(Int32, Object) 方法

定義

實作 Insert(Int32, Object) 方法。 在所有情況下都擲回 NotSupportedException

 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

要插入集合的物件。

實作

例外狀況

在所有情況下。

備註

若要將專案新增至 ImageList.ImageCollection ,請使用 Add 方法。

適用於