WebViewPage.TempData Property
Gets the temporary data to pass to the view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public ReadOnly Property TempData As TempDataDictionary
'Usage
Dim instance As WebViewPage
Dim value As TempDataDictionary
value = instance.TempData
public TempDataDictionary TempData { get; }
public:
property TempDataDictionary^ TempData {
TempDataDictionary^ get ();
}
function get TempData () : TempDataDictionary
Property Value
Type: System.Web.Mvc.TempDataDictionary
The temporary data to pass to the view.
Remarks
The data that is stored in the TempData property persists for only one request. The default TempData provider uses session state for storage. If session state is disabled, the default TempData provider will be disabled.