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)

'Declaration
Public Overridable Function GetClientValidationRules As IEnumerable(Of ModelClientValidationRule)

Return Value

Type: System.Collections.Generic.IEnumerable(Of ModelClientValidationRule)
The metadata for client validation.

Community Additions

ADD
Show:
© 2015 Microsoft