ActivityCollection.Remove(Activity) 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'activité spécifiée dans l'appel de ICollection.
public:
bool Remove(System::Workflow::ComponentModel::Activity ^ item);
public bool Remove(System.Workflow.ComponentModel.Activity item);
override this.Remove : System.Workflow.ComponentModel.Activity -> bool
Public Function Remove (item As Activity) As Boolean
Paramètres
- item
- Activity
Activité à supprimer de ICollection.
Retours
true si l'opération a abouti ; sinon false.
Implémente
Remarques
Ce ICollection est de type sécurisé. Une exception d'exécution est levée si un élément n'est pas de type Activity.