ModelValidator.Validate Method (Object)
.NET Framework (current version)
When implemented in a derived class, validates the object.
Assembly: System.Web (in System.Web.dll)
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 collection of validation results.
.NET Framework
Available since 4.5
Available since 4.5
Show: