Edit

Share via


ModelMetadata.RequestValidationEnabled Property

Definition

Gets or sets a value that specifies whether request validation is enabled.

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

Property Value

true if request validation is enabled; otherwise, false. The default is true.

Applies to