ActivityCollection.ICollection<Activity>.Contains(Activity) Metod

Definition

Hämtar ett värde som anger om Object är medlem i samlingen.

 virtual bool System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains(System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::Contains;
bool ICollection<Activity>.Contains(System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains : System.Workflow.ComponentModel.Activity -> bool
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains : System.Workflow.ComponentModel.Activity -> bool
Function Contains (item As Activity) As Boolean Implements ICollection(Of Activity).Contains

Parametrar

item
Activity

För Object att hitta i IList.

Returer

trueom värdet finns i samlingen; annars . false

Implementeringar

Kommentarer

Genererar ett undantag med felmeddelandet "Error_InvalidListItem" om Object inte är av typen Activity.

Gäller för