ActivityCollection.ICollection<Activity>.Contains(Activity) Método

Definição

Obtém um valor que indica se o Object é um membro da coleção.

 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

Parâmetros

item
Activity

O Object a ser localizado no IList.

Retornos

Boolean

true se o valor estiver na coleção, caso contrário, false.

Implementações

Comentários

Gera uma exceção com a mensagem de erro "Error_InvalidListItem" se não Object for do tipo Activity.

Aplica-se a