ModelState Class

Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself.

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

[SerializableAttribute]
public ref class ModelState

System::Object
  System.Web.Mvc::ModelState

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: