WizardStepCollection.AddAt(Int32, WizardStepBase) Method

Definition

Adds the specified WizardStepBase-derived object to the collection at the specified index location.

C#
public void AddAt(int index, System.Web.UI.WebControls.WizardStepBase wizardStep);

Parameters

index
Int32

The index location at which to insert WizardStepBase-derived object.

wizardStep
WizardStepBase

The WizardStepBase-derived object to append to the WizardStepCollection collection.

Exceptions

The WizardStepBase-derived object passed in is null.

Remarks

The AddAt method adds the WizardStepBase-derived object to the collection at the specified index location.

To add a WizardStepBase-derived object to the end of the WizardStepCollection collection, use the Add method.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also