System.Web.UI.WebControls.WizardStepCollection.Remove Method

Removes the specified System.Web.UI.WebControls.WizardStepBase-derived object from the collection.

Syntax

public void Remove (WizardStepBase wizardStep)

Parameters

wizardStep
The System.Web.UI.WebControls.WizardStepBase-derived object to remove from the collection.

Remarks

Use the WizardStepCollection.Remove(WizardStepBase) method to remove the System.Web.UI.WebControls.WizardStepBase-derived object from the System.Web.UI.WebControls.WizardStepCollection collection. Alternatively, you can use the WizardStepCollection.RemoveAt(int) method to remove a System.Web.UI.WebControls.WizardStepBase-derived object from a specified location in the System.Web.UI.WebControls.WizardStepCollection collection.

Requirements

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