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 -> unit
Sub Clear () Implements ICollection(Of Activity).Clear
Implements
Remarks
The Count property is zero after this operation is finished.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.