ModelValidator.Validate Method

Visual Studio 2010

When implemented in a derived class, validates the object.

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

'Declaration
Public MustOverride Function Validate ( _
	container As Object _
) As IEnumerable(Of ModelValidationResult)

Parameters

container
Type: System.Object
The container.

Return Value

Type: System.Collections.Generic.IEnumerable(Of ModelValidationResult)
A list of validation results.

Community Additions

ADD
Show: