Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModelState Property

Controller.ModelState Property


Gets the model state dictionary object that contains the state of the model and of model-binding validation.

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 model state dictionary.

Return to top
© 2015 Microsoft