ActivityCollection.Remove(Activity) Método

Definição

Remove a atividade especificada na chamada do ICollection.Removes the activity specified in the call from the ICollection.

public:
 bool Remove(System::Workflow::ComponentModel::Activity ^ item);
public bool Remove (System.Workflow.ComponentModel.Activity item);
override this.Remove : System.Workflow.ComponentModel.Activity -> bool
Public Function Remove (item As Activity) As Boolean

Parâmetros

item
Activity

A atividade a ser removida do ICollection.The activity to remove from the ICollection.

Retornos

Boolean

true se a operação for bem-sucedida, caso contrário, false.true if the operation succeeded; otherwise, false.

Implementações

Comentários

Isso ICollection é de tipo seguro.This ICollection is type safe. Uma exceção de tempo de execução será gerada se um item não for do tipo Activity .A run-time exception is raised if an item is not of type Activity.

Aplica-se a