Partager via


SqlBatchCommandCollection.Insert Méthode

Définition

Surcharges

Insert(Int32, SqlBatchCommand)

Insère un élément dans SqlBatchCommandCollection à l'index spécifié.

Insert(Int32, DbBatchCommand)

Insère l’index spécifié de l’objet DbBatchCommand avec le nom spécifié dans la collection à l’index spécifié.

Insert(Int32, SqlBatchCommand)

Insère un élément dans SqlBatchCommandCollection à l'index spécifié.

public:
 virtual void Insert(int index, Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public void Insert (int index, Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Insert : int * Microsoft.Data.SqlClient.SqlBatchCommand -> unit
Public Sub Insert (index As Integer, item As SqlBatchCommand)

Paramètres

index
Int32

Implémente

Exceptions

S’applique à

Insert(Int32, DbBatchCommand)

Insère l’index spécifié de l’objet DbBatchCommand avec le nom spécifié dans la collection à l’index spécifié.

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

Paramètres

index
Int32

Index auquel insérer l’objet DbBatchCommand.

item
DbBatchCommand

Objet à insérer dans IList<T>.

S’applique à