Export (0) Print
Expand All

ModelBindingContext.ModelState Property

Gets or sets the state of the model.

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

'Declaration
Public Property ModelState As ModelStateDictionary 
	Get 
	Set
'Usage
Dim instance As ModelBindingContext 
Dim value As ModelStateDictionary 

value = instance.ModelState

instance.ModelState = value

Property Value

Type: System.Web.Mvc.ModelStateDictionary
The state of the model.
Show:
© 2014 Microsoft