DbBatchCommandCollection.Remove(DbBatchCommand) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime l'objet DbBatchCommand spécifié de la 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
Paramètres
- item
- DbBatchCommand
Objet à supprimer de ICollection<T>.
Retours
true si item a été correctement supprimé ; sinon, false. Cette méthode retourne également false si item est introuvable dans DbBatchCommandCollection.