DbBatchCommandCollection.Insert(Int32, DbBatchCommand) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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>的物件。