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

'Declaration
Public Property TempData As TempDataDictionary
    Get
    Set
public TempDataDictionary TempData { get; set; }
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

ControllerBase Class

System.Web.Mvc Namespace