Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetClientValidationRules Method
Collapse the table of content
Expand the table of content

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)

public override IEnumerable<ModelClientValidationRule> GetClientValidationRules()

Return Value

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

A list of string-length client validation rules.

Return to top
© 2015 Microsoft