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

定义

IList 中的指定索引处插入一个项。Inserts an item to the IList at the specified index.

 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 的从零开始的索引。The zero-based index at which value should be inserted.

value
Object

要插入到 IList 中的对象。The object to insert into the IList.

实现

例外

index 不是 IList 中的有效索引。index is not a valid index in the IList.

IList 为只读。The IList is read-only.

- 或 --or- IList 具有固定的大小。The IList has a fixed size.

valueIList 中的 null 引用。value is null reference in the IList.

适用于