DbBatchCommandCollection.IndexOf(DbBatchCommand) 方法

定义

返回指定的 DbBatchCommand 对象的索引。

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

参数

item
DbBatchCommand

要在 IList<T> 中定位的对象。

返回

指定的 DbBatchCommand 对象的索引。

实现

适用于