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

ClientDataTypeModelValidatorProvider.GetValidators Method (ModelMetadata, ControllerContext)

 

Returns the client data-type model validators.

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

public override IEnumerable<ModelValidator> GetValidators(
	ModelMetadata metadata,
	ControllerContext context
)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The metadata.

context
Type: System.Web.Mvc.ControllerContext

The context.

Return Value

Type: System.Collections.Generic.IEnumerable<ModelValidator>

The client data-type model validators.

Return to top
Show:
© 2015 Microsoft