ActivityCollection.Contains(Activity) Méthode

Définition

Fournit un test pour l'appartenance de Activity dans ICollection.

public:
 bool Contains(System::Workflow::ComponentModel::Activity ^ item);
public bool Contains (System.Workflow.ComponentModel.Activity item);
override this.Contains : System.Workflow.ComponentModel.Activity -> bool
Public Function Contains (item As Activity) As Boolean

Paramètres

item
Activity

Activity testé pour l'appartenance.

Retours

Boolean

true si Activity appartient à ICollection ; sinon, false.

Implémente

Remarques

Ce ICollection est de type sécurisé. Une exception d'exécution est levée si l'élément n'est pas de type Activity.

S’applique à