Export (0) Print
Expand All

ViewPage.TempData Property

Gets the temporary data to pass to the view.

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

function get TempData () : TempDataDictionary

Property Value

Type: System.Web.Mvc.TempDataDictionary
The temporary data to pass to the view.

The data stored in the TempData property persists for only one request.

Show:
© 2015 Microsoft