Compartilhar via


RegularExpressionAttributeAdapter.GetClientValidationRules Method

Gets a list of regular-expression 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 regular-expression client validation rules.

See Also

Reference

RegularExpressionAttributeAdapter Class

System.Web.Mvc Namespace