Export (0) Print
Expand All

ModelValidator.GetClientValidationRules Method

.NET Framework 4

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.

Community Additions

ADD
Show:
© 2014 Microsoft