ModelMetadata.RequestValidationEnabled 屬性

定義

取得或設定一個值,指定是否啟用請求驗證。

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

屬性值

true若啟用請求驗證;否則,。 false 預設值為 true

適用於