TempDataDictionary.Item Property

Gets or sets the object that has the specified key.

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

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

Parameters

key
Type: System.String

The key to access.

Property Value

Type: System.Object
The object that has the specified key.

Implements

IDictionary<TKey, TValue>.Item[TKey]
Show: