WebPage.ModelState Property

Definition

Gets the state of the model that is associated with a page.

public System.Web.WebPages.Html.ModelStateDictionary ModelState { get; }
member this.ModelState : System.Web.WebPages.Html.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary

Property Value

The state of the model.

Applies to