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

Definição

Obtém um valor que indica se o Object é 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 para localizar no IList.

Devoluções

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

Implementações

Observações

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

Aplica-se a