ControllerBase.TempData Property (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
ControllerBase.TempData Property

Gets or sets the dictionary for temporary data.

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

Visual Basic
Public Property TempData As TempDataDictionary
	Get
	Set
C#
public TempDataDictionary TempData { get; set; }
Visual C++
public:
property TempDataDictionary^ TempData {
	TempDataDictionary^ get ();
	void set (TempDataDictionary^ value);
}

Property Value

Type: System.Web.Mvc.TempDataDictionary
The dictionary for temporary data.
See Also

Reference