Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Item Property
Collapse the table of content
Expand the table of content

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 ModelState this[
	string key
] { get; set; }

Property Value

Type: System.Web.Mvc.ModelState

The model state item.

Return to top
© 2015 Microsoft