ActivityCollection.Contains(Activity) Methode

Definition

Stellt einen Test für die Mitgliedschaft von Activity in ICollection bereit.

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

Die Activity, die hinsichtlich einer Mitgliedschaft getestet wird.

Gibt zurück

true, falls Activity zu ICollection gehört; andernfalls false.

Implementiert

Hinweise

ICollection ist typsicher. Eine Laufzeitausnahme wird ausgelöst, wenn das Element nicht vom Typ Activity ist.

Gilt für: