DataAnnotationsModelValidator.GetClientValidationRules Method ()

 

Retrieves a collection of client validation rules.

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

Syntax

public override IEnumerable<ModelClientValidationRule> GetClientValidationRules()
public:
virtual IEnumerable<ModelClientValidationRule^>^ GetClientValidationRules() override
override GetClientValidationRules : unit -> IEnumerable<ModelClientValidationRule>
Public Overrides Function GetClientValidationRules As IEnumerable(Of ModelClientValidationRule)

Return Value

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

A collection of client validation rules.

See Also

DataAnnotationsModelValidator Class
System.Web.Mvc Namespace

Return to top