ActivityCollection.Contains(Activity) Methode

Definition

Stellt einen Test für die Mitgliedschaft in der ActivityICollection.

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

Parameter

item
Activity

Der Activity Test für die Mitgliedschaft.

Gibt zurück

truewenn die Activity gehört zum ICollection; andernfalls . false

Implementiert

Hinweise

Dies ICollection ist typsicher. Eine Laufzeit ausnahme wird ausgelöst, wenn das Element nicht vom Typ Activityist.

Gilt für: