ModelBindingContext.ModelState Property

.NET Framework (current version)
 

Gets or sets the model state.

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

public ModelStateDictionary ModelState { get; set; }

Property Value

Type: System.Web.ModelBinding.ModelStateDictionary

The model state, or a new instance of ModelStateDictionary if the model state does not exist yet.

.NET Framework
Available since 4.5
Return to top
Show: