Share via


ModelValidationNode.SuppressValidation Property

 

Gets or sets a value that indicates whether validation should be suppressed.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

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

Property Value

Type: System.Boolean

true if validation should be suppressed; otherwise, false.

See Also

ModelValidationNode Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top