System.Web.UI.WebControls.WizardStepCollection.Clear Method

Removes all System.Web.UI.WebControls.WizardStepBase-derived objects from the collection.

Syntax

public void Clear ()

Remarks

Use the WizardStepCollection.Clear method to remove all the System.Web.UI.WebControls.WizardStepBase-derived objects from the System.Web.UI.WebControls.WizardStepCollection collection.

Note:

After the WizardStepCollection.Clear method removes the System.Web.UI.WebControls.WizardStepBase-derived objects from the collection, the WizardStepCollection.Count property of the System.Web.UI.WebControls.WizardStepCollection collection has a value of zero.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0