ModelMetadata.GetValidators Method
Visual Studio 2010
Gets a list of validators for the model.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Overridable Function GetValidators ( _ context As ControllerContext _ ) As IEnumerable(Of ModelValidator)
Parameters
- context
- Type: System.Web.Mvc.ControllerContext
The controller context.
Return Value
Type: System.Collections.Generic.IEnumerable(Of ModelValidator)A list of validators for the model.
Community Additions
ADD
Show: