0 out of 1 rated this helpful - Rate this topic

ModelState.Errors Property

Returns a ModelErrorCollection object that contains any errors that occurred during model binding.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public ModelErrorCollection Errors { get; }

Property Value

Type: System.Web.Mvc.ModelErrorCollection
The errors.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ