WizardStepCollection.AddAt(Int32, WizardStepBase) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 WizardStepBase派生对象添加到集合中的指定索引位置。
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)
参数
- index
- Int32
要插入 WizardStepBase-derived 对象的索引位置。
- wizardStep
- WizardStepBase
要 WizardStepBase追加到集合中的 WizardStepCollection -derived 对象。
例外
WizardStepBase传入的派生对象为 null.
注解
该方法 AddAt 将 WizardStepBase-derived 对象添加到集合中的指定索引位置。
若要将 WizardStepBase派生对象添加到集合末尾 WizardStepCollection ,请使用 Add 该方法。