Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FieldValidationMetadata.ValidationRules Property


Gets the client validation rules.

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

public ICollection<ModelClientValidationRule> ValidationRules { get; }

Property Value

Type: System.Collections.Generic.ICollection<ModelClientValidationRule>

The client validation rules.

This method is called by the ValidationMessage method when client validation is enabled. You typically do not have to use this property directly.

Return to top
© 2015 Microsoft