ModelMethodContext::ModelState Property

.NET Framework (current version)
 

Gets the model state.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property ModelStateDictionary^ ModelState {
	ModelStateDictionary^ get();
}

Property Value

Type: System.Web.ModelBinding::ModelStateDictionary^

The model state.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

.NET Framework
Available since 4.5
Return to top
Show: