ModelValidator.Validate Method (Object)

.NET Framework (current version)
 

When implemented in a derived class, validates the object.

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

public abstract IEnumerable<ModelValidationResult> Validate(
	object container
)

Parameters

container
Type: System.Object

The container.

Return Value

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

A collection of validation results.

.NET Framework
Available since 4.5
Return to top
Show: