Freigeben über


ModelState.Value Property

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

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

Syntax

'Declaration
Public Property Value As ValueProviderResult
    Get
    Set
public ValueProviderResult Value { get; set; }
public:
property ValueProviderResult^ Value {
    ValueProviderResult^ get ();
    void set (ValueProviderResult^ value);
}

Property Value

Type: System.Web.Mvc.ValueProviderResult
The value.

See Also

Reference

ModelState Class

System.Web.Mvc Namespace