ModelBindingContext.ModelState Property

 

Gets or sets the state of the model.

Namespace:   System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.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.Http.ModelBinding.ModelStateDictionary

The state of the model.

See Also

ModelBindingContext Class
System.Web.Http.ModelBinding Namespace

Return to top