ActivityCollection.ICollection<Activity>.Clear Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears all activities from the IList.
 virtual void System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Clear() = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::Clear;void ICollection<Activity>.Clear();abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Clear : unit -> unitSub Clear () Implements ICollection(Of Activity).ClearImplements
Remarks
The Count property is zero after this operation is finished.