Condividi tramite


SqlBatchCommandCollection.IndexOf Metodo

Definizione

Overload

IndexOf(DbBatchCommand)

Restituisce l'indice dell'oggetto DbBatchCommand specificato.

IndexOf(SqlBatchCommand)

Cerca l'oggetto specificato SqlBatchCommand all'interno SqlBatchCommandCollection e restituisce l'indice in base zero della prima occorrenza all'interno dell'intero SqlBatchCommandCollectionoggetto .

IndexOf(DbBatchCommand)

Restituisce l'indice dell'oggetto DbBatchCommand specificato.

public:
 override int IndexOf(System::Data::Common::DbBatchCommand ^ item);
public override int IndexOf (System.Data.Common.DbBatchCommand item);
override this.IndexOf : System.Data.Common.DbBatchCommand -> int
Public Overrides Function IndexOf (item As DbBatchCommand) As Integer

Parametri

item
DbBatchCommand

Oggetto da individuare nella raccolta IList<T>.

Restituisce

Indice dell'oggetto DbBatchCommand specificato.

Si applica a

IndexOf(SqlBatchCommand)

Cerca l'oggetto specificato SqlBatchCommand all'interno SqlBatchCommandCollection e restituisce l'indice in base zero della prima occorrenza all'interno dell'intero SqlBatchCommandCollectionoggetto .

public:
 virtual int IndexOf(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public int IndexOf (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.IndexOf : Microsoft.Data.SqlClient.SqlBatchCommand -> int
Public Function IndexOf (item As SqlBatchCommand) As Integer

Parametri

Restituisce

Restituisce l'indice in base zero della prima occorrenza all'interno dell'intero SqlBatchCommandCollectionoggetto .

Implementazioni

Si applica a