HttpActionContext.ModelState Property
Gets the model state dictionary for the context.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public ReadOnly Property ModelState As ModelStateDictionary
Get
'Usage
Dim instance As HttpActionContext
Dim value As ModelStateDictionary
value = instance.ModelState
public ModelStateDictionary ModelState { get; }
public:
property ModelStateDictionary^ ModelState {
ModelStateDictionary^ get ();
}
member ModelState : ModelStateDictionary
function get ModelState () : ModelStateDictionary
Property Value
Type: System.Web.Http.ModelBinding.ModelStateDictionary
The model state dictionary.