Page.ValidateRequestMode Page.ValidateRequestMode Page.ValidateRequestMode Page.ValidateRequestMode Property

定義

取得或設定值,指出頁面是否對來自瀏覽器的用戶端輸入檢查潛在的危險值。Gets or sets a value that indicates whether the page checks client input from the browser for potentially dangerous values.

public:
 virtual property System::Web::UI::ValidateRequestMode ValidateRequestMode { System::Web::UI::ValidateRequestMode get(); void set(System::Web::UI::ValidateRequestMode value); };
[System.ComponentModel.Browsable(false)]
public override System.Web.UI.ValidateRequestMode ValidateRequestMode { get; set; }
member this.ValidateRequestMode : System.Web.UI.ValidateRequestMode with get, set
Public Overrides Property ValidateRequestMode As ValidateRequestMode

屬性值

表示頁面是否檢查用戶端輸入的值。A value that indicates whether the page checks client input. 預設為 EnabledThe default is Enabled.

備註

該值Inherit不會用於Page類別,因為沒有任何項目繼承。The value Inherit is not used in the Page class because there is nothing to inherit from.

適用於

另請參閱