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

Definice

Získá hodnotu, která označuje, zda Object je členem kolekce.

 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

Parametry

item
Activity

K Object vyhledání v IList.

Návraty

truepokud je hodnota v kolekci; v opačném případě . false

Implementuje

Poznámky

Vyvolá výjimku s chybovou zprávou "Error_InvalidListItem", Object pokud není typu Activity.

Platí pro