Partager via


ModelValidationNode.ValidateAllProperties Property

Gets or sets a value that indicates whether all properties of the model should be validated.

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property ValidateAllProperties As Boolean
    Get
    Set
'Usage
Dim instance As ModelValidationNode
Dim value As Boolean

value = instance.ValidateAllProperties

instance.ValidateAllProperties = value
public bool ValidateAllProperties { get; set; }
public:
property bool ValidateAllProperties {
    bool get ();
    void set (bool value);
}
member ValidateAllProperties : bool with get, set
function get ValidateAllProperties () : boolean
function set ValidateAllProperties (value : boolean)

Property Value

Type: System.Boolean
true if all properties of the model should be validated, or false if validation should be skipped.

See Also

Reference

ModelValidationNode Class

System.Web.Http.Validation Namespace