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

定義

在指定的索引處插入一個項目 IList

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
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

要插入 IList的物件。

實作

例外狀況

index 在 中 不是有效的索引 IList

這是 IList 唯讀的。

-或-

IList 有固定尺寸。

value 是 中 IList空參考。

適用於