DbBatchCommandCollection.Insert(Int32, DbBatchCommand) 方法

定義

將具有指定名稱的 DbBatchCommand 物件指定索引插入位於指定索引的集合中。

public:
 abstract void Insert(int index, System::Data::Common::DbBatchCommand ^ item);
public abstract void Insert (int index, System.Data.Common.DbBatchCommand item);
abstract member Insert : int * System.Data.Common.DbBatchCommand -> unit
Public MustOverride Sub Insert (index As Integer, item As DbBatchCommand)

參數

index
Int32

要插入 DbBatchCommand 物件的索引。

item
DbBatchCommand

要插入 IList<T> 的物件。

實作

適用於