ViewResultBase.TempData Property

Gets or sets the TempDataDictionary object for this result.

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 temporary data.

See Also

Reference

ViewResultBase Class

System.Web.Mvc Namespace