Export (0) Print
Expand All

ModelValidator.GetClientValidationRules Method

When implemented in a derived class, returns metadata for client validation.

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

public virtual IEnumerable<ModelClientValidationRule> GetClientValidationRules()

Return Value

Type: System.Collections.Generic.IEnumerable<ModelClientValidationRule>
The metadata for client validation.
Show:
© 2014 Microsoft