ModelState.Errors ModelState.Errors ModelState.Errors Property

Definition

Returns a list of strings that contains any errors that occurred during model binding.

public System.Collections.Generic.IList<string> Errors { get; }
member this.Errors : System.Collections.Generic.IList<string>
Public ReadOnly Property Errors As IList(Of String)
Property Value

The errors that occurred during model binding.

Applies to