DbBatchCommandCollection.Remove(DbBatchCommand) 方法

定義

從集合中移除指定的 DbBatchCommand 物件。

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

參數

item
DbBatchCommand

要從 ICollection<T> 移除的物件。

傳回

如果成功移除 item,則為 true;否則為 false。 如果在 false 中找不到 item,則這個方法也會傳回 DbBatchCommandCollection

實作

適用於