ExtensibleModelBindingContext.ModelState Property
Gets or sets the model state.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public ModelStateDictionary ModelState { get; set; }
public:
property ModelStateDictionary^ ModelState {
ModelStateDictionary^ get();
void set(ModelStateDictionary^ value);
}
member ModelState : ModelStateDictionary with get, set
Public Property ModelState As ModelStateDictionary
Property Value
Type: System.Web.Mvc.ModelStateDictionary
The model state, or a new instance of ModelStateDictionary if the model state does not exist yet.
See Also
ExtensibleModelBindingContext Class
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top