SqlBatchCommandCollection.Insert Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- item
- SqlBatchCommand
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>.