DbBatchCommandCollection.IndexOf(DbBatchCommand) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> intPublic MustOverride Function IndexOf (item As DbBatchCommand) As IntegerParameters
- item
- DbBatchCommand
The object to locate in the IList<T>.
Returns
The index of the specified DbBatchCommand object.