DbBatchCommandCollection.IndexOf(DbBatchCommand) Method

Definition

Returns the index of the specified DbBatchCommand object.

public:
 abstract int IndexOf(System::Data::Common::DbBatchCommand ^ item);
public abstract int IndexOf (System.Data.Common.DbBatchCommand item);
abstract member IndexOf : System.Data.Common.DbBatchCommand -> int
Public MustOverride Function IndexOf (item As DbBatchCommand) As Integer

Parameters

item
DbBatchCommand

The object to locate in the IList<T>.

Returns

The index of the specified DbBatchCommand object.

Implements

Applies to