Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EmptyModelValidatorProvider.GetValidators Method (ModelMetadata, ControllerContext)

 

Gets the empty model validator.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Public Overrides Function GetValidators (
	metadata As ModelMetadata,
	context As ControllerContext
) As IEnumerable(Of ModelValidator)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The metadata.

context
Type: System.Web.Mvc.ControllerContext

The context.

Return Value

Type: System.Collections.Generic.IEnumerable(Of ModelValidator)

The empty model validator.

Return to top
Show:
© 2015 Microsoft