Partager via


ViewUserControl.TempData Property

Gets the temporary-data dictionary.

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

Syntax

'Declaration
Public ReadOnly Property TempData As TempDataDictionary
    Get
public TempDataDictionary TempData { get; }
public:
property TempDataDictionary^ TempData {
    TempDataDictionary^ get ();
}

Property Value

Type: System.Web.Mvc.TempDataDictionary
The temporary-data dictionary.

See Also

Reference

ViewUserControl Class

System.Web.Mvc Namespace