Compartir a través de


SqlBatchCommandCollection.Insert Método

Definición

Sobrecargas

Insert(Int32, SqlBatchCommand)

Inserta un elemento en la interfaz SqlBatchCommandCollection, en el índice especificado.

Insert(Int32, DbBatchCommand)

Inserta el índice especificado del objeto de DbBatchCommand con el nombre especificado en la colección en el índice especificado.

Insert(Int32, SqlBatchCommand)

Inserta un elemento en la interfaz SqlBatchCommandCollection, en el índice especificado.

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)

Parámetros

index
Int32

Implementaciones

Excepciones

Se aplica a

Insert(Int32, DbBatchCommand)

Inserta el índice especificado del objeto de DbBatchCommand con el nombre especificado en la colección en el índice especificado.

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)

Parámetros

index
Int32

Índice en el que se va a insertar el objeto de DbBatchCommand.

item
DbBatchCommand

Objeto que se va a insertar en IList<T>.

Se aplica a