RemoteAttribute.GetClientValidationRules Method (ModelMetadata, ControllerContext)
Gets a list of client validation rules for the property.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- metadata
-
Type:
System.Web.Mvc.ModelMetadata
The model metadata.
- context
-
Type:
System.Web.Mvc.ControllerContext
The controller context.
Return Value
Type: System.Collections.Generic.IEnumerable<ModelClientValidationRule>A list of remote client validation rules for the property.
Show: