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>的物件。

實作

適用於