SqlBatchCommandCollection.Insert Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Insert(Int32, SqlBatchCommand) |
Inserisce un elemento nell'oggetto SqlBatchCommandCollection in corrispondenza dell'indice specificato. |
Insert(Int32, DbBatchCommand) |
Inserisce l'indice specificato dell'oggetto DbBatchCommand con il nome specificato nella raccolta in corrispondenza dell'indice specificato. |
Insert(Int32, SqlBatchCommand)
Inserisce un elemento nell'oggetto SqlBatchCommandCollection in corrispondenza dell'indice specificato.
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)
Parametri
- index
- Int32
- item
- SqlBatchCommand
Implementazioni
Eccezioni
Si applica a
Insert(Int32, DbBatchCommand)
Inserisce l'indice specificato dell'oggetto DbBatchCommand con il nome specificato nella raccolta in corrispondenza dell'indice specificato.
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)
Parametri
- index
- Int32
Indice in corrispondenza del quale inserire l'oggetto DbBatchCommand.
- item
- DbBatchCommand
Oggetto da inserire in IList<T>.