ModelMetadata.RequestValidationEnabled Property

 

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

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

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

Property Value

Type: System.Boolean

true if request validation is enabled; otherwise, false.

See Also

ModelMetadata Class
System.Web.Mvc Namespace

Return to top