SqlBatchCommandCollection.IndexOf 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
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
- item
- SqlBatchCommand
Devoluciones
Devuelve el índice de base cero de la primera aparición dentro de todo SqlBatchCommandCollection.