Redigera

Dela via


WizardStepCollection.AddAt(Int32, WizardStepBase) Method

Definition

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

public:
 void AddAt(int index, System::Web::UI::WebControls::WizardStepBase ^ wizardStep);
public void AddAt (int index, System.Web.UI.WebControls.WizardStepBase wizardStep);
member this.AddAt : int * System.Web.UI.WebControls.WizardStepBase -> unit
Public Sub AddAt (index As Integer, wizardStep As WizardStepBase)

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

See also