TempDataDictionary.Save Method
Saves the specified controller context by using the specified data provider.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub Save ( _
controllerContext As ControllerContext, _
tempDataProvider As ITempDataProvider _
)
public void Save(
ControllerContext controllerContext,
ITempDataProvider tempDataProvider
)
public:
void Save(
ControllerContext^ controllerContext,
ITempDataProvider^ tempDataProvider
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- tempDataProvider
Type: System.Web.Mvc.ITempDataProvider
The temporary data provider.