ViewDataDictionary.Item Property (String)

 

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

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

public object this[
	string key
] { get; set; }

Property Value

Type: System.Object

The value of the selected item.

Return to top
Show: