ApiController.ModelState Property

 

Gets the model state after the model binding process.

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

Syntax

public ModelStateDictionary ModelState { get; }
public:
property ModelStateDictionary^ ModelState {
    ModelStateDictionary^ get();
}
member ModelState : ModelStateDictionary with get
Public ReadOnly Property ModelState As ModelStateDictionary

Property Value

Type: System.Web.Http.ModelBinding.ModelStateDictionary

The model state after the model binding process.

See Also

ApiController Class
System.Web.Http Namespace

Return to top