ModelState.Errors Property

Definition

Gets a collection of errors that occurred during model binding.

public:
 property System::Web::ModelBinding::ModelErrorCollection ^ Errors { System::Web::ModelBinding::ModelErrorCollection ^ get(); };
public System.Web.ModelBinding.ModelErrorCollection Errors { get; }
member this.Errors : System.Web.ModelBinding.ModelErrorCollection
Public ReadOnly Property Errors As ModelErrorCollection

Property Value

The collection of errors.

Applies to