ModelState.Errors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a ModelErrorCollection object that contains any errors that occurred during model binding.
public System.Web.Mvc.ModelErrorCollection Errors { get; }
member this.Errors : System.Web.Mvc.ModelErrorCollection
Public ReadOnly Property Errors As ModelErrorCollection
Property Value
The errors.