ModelState Property

ModelBindingContext.ModelState Property

 

Gets or sets the state of the model.

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

public ModelStateDictionary ModelState { get; set; }

Property Value

Type: System.Web.Mvc.ModelStateDictionary

The state of the model.

Return to top
Show:
© 2016 Microsoft