DbBatchCommandCollection.Remove(DbBatchCommand) Metod

Definition

Tar bort det angivna DbBatchCommand objektet från samlingen.

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

Parametrar

item
DbBatchCommand

Objektet som ska tas bort från ICollection<T>.

Returer

true om item har tagits bort, annars false. Den här metoden returnerar false även om item det inte hittades i DbBatchCommandCollection.

Implementeringar

Gäller för