FormAttribute.ValidateInput 屬性

定義

取得或設定一個值,指示表單資料是否已驗證。

public:
 property bool ValidateInput { bool get(); void set(bool value); };
public bool ValidateInput { get; set; }
member this.ValidateInput : bool with get, set
Public Property ValidateInput As Boolean

屬性值

true若表單資料已驗證;否則,。 false

實作

備註

關於如何使用網頁表單進行模型綁定的教學系列,請參見 「模型綁定與網頁表單」。

適用於