TempDataDictionary.Load Method
Loads 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 Load ( _
controllerContext As ControllerContext, _
tempDataProvider As ITempDataProvider _
)
public void Load(
ControllerContext controllerContext,
ITempDataProvider tempDataProvider
)
public:
void Load(
ControllerContext^ controllerContext,
ITempDataProvider^ tempDataProvider
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- tempDataProvider
Type: System.Web.Mvc.ITempDataProvider
The temporary data provider.