Freigeben über


RangeAttributeAdapter.GetClientValidationRules Method

Gets a list of client validation rules for a range check.

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

Syntax

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

Return Value

Type: System.Collections.Generic.IEnumerable<ModelClientValidationRule>
A list of client validation rules for a range check.

See Also

Reference

RangeAttributeAdapter Class

System.Web.Mvc Namespace