Export (0) Print
Expand All

ViewDataDictionary.ModelState Property

.NET Framework 4

Gets the state of the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Public ReadOnly Property ModelState As ModelStateDictionary

Property Value

Type: System.Web.Mvc.ModelStateDictionary
The state of the model.

A ModelStateDictionary object encapsulates information about model binding. This information includes the number of properties to bind, the model state, and property keys and values.

Community Additions

© 2014 Microsoft