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>的物件。

傳回

trueitem成功移除;否則,。 false 如果在 List 中没有找到 item,则此方法也会返回 false。

實作

適用於