Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetClientValidationRules Method
Collapse the table of content
Expand the table of content

DataAnnotationsModelValidator.GetClientValidationRules Method ()

 

Retrieves a collection of client validation rules.

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

public override IEnumerable<ModelClientValidationRule> GetClientValidationRules()

Return Value

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

A collection of client validation rules.

Return to top
Show:
© 2015 Microsoft