DbBatchCommandCollection.Contains(DbBatchCommand) 方法

定義

指出是否 DbBatchCommand 包含在集合中。

public:
 abstract bool Contains(System::Data::Common::DbBatchCommand ^ item);
public abstract bool Contains (System.Data.Common.DbBatchCommand item);
abstract member Contains : System.Data.Common.DbBatchCommand -> bool
Public MustOverride Function Contains (item As DbBatchCommand) As Boolean

參數

item
DbBatchCommand

要在 ICollection<T> 中尋找的物件。

傳回

如果集合中有 DbBatchCommand,則為 true;否則為 false

實作

適用於