ModelState.Errors Property

.NET Framework (current version)
 

Gets a collection of errors that occurred during model binding.

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

Public ReadOnly Property Errors As ModelErrorCollection

Property Value

Type: System.Web.ModelBinding.ModelErrorCollection

The collection of errors.

.NET Framework
Available since 4.5
Return to top
Show: