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
© 2016 Microsoft