ViewContext.TempData Property

Gets data that is associated with this request and that is available for only one request.

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

abstract TempData : TempDataDictionary with get, set 
override TempData : TempDataDictionary with get, set

Property Value

Type: System.Web.Mvc.TempDataDictionary
The temporary data.
Show: