DbBatchCommandCollection.Remove(DbBatchCommand) Method

Definition

Removes the specified DbBatchCommand object from the collection.

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

Parameters

item
DbBatchCommand

The object to remove from the ICollection<T>.

Returns

true if item was successfully removed; otherwise, false. This method also returns false if item was not found in the DbBatchCommandCollection.

Implements

Applies to