Share via


CreateUserWizardStep.AllowReturn 屬性

定義

取得或設定值,指示是否允許使用者從 CreateUserWizard 控制項中的後續步驟返回至目前步驟。

public:
 virtual property bool AllowReturn { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool AllowReturn { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AllowReturn : bool with get, set
Public Overrides Property AllowReturn As Boolean

屬性值

如果允許使用者返回至 CreateUserWizardStep 步驟,則為 true,否則為 false。 預設為 false

屬性

例外狀況

嘗試設定此屬性。

備註

屬性 AllowReturn 設定為 false ,讓使用者無法返回 CreateUserWizardStep 步驟,並意外嘗試使用相同的認證建立另一個使用者帳戶。 如果您覆寫 AllowReturn 屬性並將其設定為 true ,則應該在應用程式中加入邏輯,以移除原本在使用者返回此步驟之前建立的使用者帳戶,或允許使用者編輯原先輸入的資訊。

適用於

另請參閱