ModelBindingContext.ModelState Property

Definition

Gets or sets the state of the model.

public System.Web.Mvc.ModelStateDictionary ModelState { get; set; }
member this.ModelState : System.Web.Mvc.ModelStateDictionary with get, set
Public Property ModelState As ModelStateDictionary

Property Value

The state of the model.

Applies to