Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelState.Errors Property


Gets a ModelErrorCollection object that contains any errors that occurred during model binding.

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

public ModelErrorCollection Errors { get; }

Property Value

Type: System.Web.Http.ModelBinding.ModelErrorCollection

The model state errors.

Return to top
© 2015 Microsoft