Compartir a través de


SqlBatchCommandCollection.IndexOf Método

Definición

Sobrecargas

IndexOf(DbBatchCommand)

Devuelve el índice del objeto DbBatchCommand especificado.

IndexOf(SqlBatchCommand)

Busca el especificado SqlBatchCommand dentro SqlBatchCommandCollection de y devuelve el índice de base cero de la primera aparición dentro de todo SqlBatchCommandCollection.

IndexOf(DbBatchCommand)

Devuelve el índice del objeto DbBatchCommand especificado.

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

Parámetros

item
DbBatchCommand

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

Devoluciones

Índice del objeto DbBatchCommand especificado.

Se aplica a

IndexOf(SqlBatchCommand)

Busca el especificado SqlBatchCommand dentro SqlBatchCommandCollection de y devuelve el índice de base cero de la primera aparición dentro de todo SqlBatchCommandCollection.

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

Parámetros

Devoluciones

Devuelve el índice de base cero de la primera aparición dentro de todo SqlBatchCommandCollection.

Implementaciones

Se aplica a