This topic has not yet been rated Rate this topic

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)
public virtual TempDataDictionary TempData { get; set; }

Property Value

Type: System.Web.Mvc.TempDataDictionary
The temporary data.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ