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 Overridable Function GetClientValidationRules As IEnumerable(Of ModelClientValidationRule)

Return Value

Type: System.Collections.Generic.IEnumerable(Of ModelClientValidationRule)

The metadata for client validation.

Return to top
Show: