Share via


HelperPage.ModelState Property

Gets the state data for the model that is associated with a page.

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

Syntax

'Declaration
Public Shared ReadOnly Property ModelState As ModelStateDictionary 
    Get
'Usage
Dim value As ModelStateDictionary 

value = HelperPage.ModelState
public static ModelStateDictionary ModelState { get; }
public:
static property ModelStateDictionary^ ModelState {
    ModelStateDictionary^ get ();
}
static member ModelState : ModelStateDictionary
static function get ModelState () : ModelStateDictionary

Property Value

Type: System.Web.WebPages.Html.ModelStateDictionary
The state of the model.

See Also

Reference

HelperPage Class

System.Web.WebPages Namespace