ModelState Class

 

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

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

System.Object
  System.Web.Http.ModelBinding.ModelState

[<SerializableAttribute>]
type ModelState = class end

NameDescription
System_CAPS_pubmethodModelState()

Initializes a new instance of the ModelState class.

NameDescription
System_CAPS_pubpropertyErrors

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

System_CAPS_pubpropertyValue

Gets a ValueProviderResult object that encapsulates the value that was being bound during model binding.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: