Compartilhar via


StringLengthAttributeAdapter.GetClientValidationRules Method

Gets a list of string-length client validation rules.

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 string-length client validation rules.

See Also

Reference

StringLengthAttributeAdapter Class

System.Web.Mvc Namespace