ModelStateDictionary::Item Property (String^)

 

Gets or sets the value that is associated with the specified key.

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

public:
property ModelState^ default[
	String^ key
] {
	virtual ModelState^ get(String^ key) sealed;
	virtual void set(String^ key, ModelState^ value) sealed;
}

Property Value

Type: System.Web.Mvc::ModelState^

The model state item.

Return to top
Show: