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

ModelValidator.Validate Method (Object)

 

When implemented in a derived class, validates the object.

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

public abstract IEnumerable<ModelValidationResult> Validate(
	object container
)

Parameters

container
Type: System.Object

The container.

Return Value

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

A list of validation results.

Return to top
Show:
© 2015 Microsoft