RequiredAttributeAdapter.GetClientValidationRules Method
Gets a list of required-value 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 required-value client validation rules.