Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the state of the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public ReadOnly Property ModelState As ModelStateDictionary
Get
public ModelStateDictionary ModelState { get; }
public:
property ModelStateDictionary^ ModelState {
ModelStateDictionary^ get ();
}
Property Value
Type: System.Web.Mvc.ModelStateDictionary
The state of the model.
Remarks
A ModelStateDictionary object encapsulates information about model binding. This information includes the number of properties to bind, the model state, and property keys and values.