TempDataDictionary.Load(ControllerContext, ITempDataProvider) TempDataDictionary.Load(ControllerContext, ITempDataProvider) Method

Definition

Loads the specified controller context by using the specified data provider.

public void Load (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ITempDataProvider tempDataProvider);
member this.Load : System.Web.Mvc.ControllerContext * System.Web.Mvc.ITempDataProvider -> unit

Parameters

controllerContext
ControllerContext ControllerContext

The controller context.

tempDataProvider
ITempDataProvider ITempDataProvider

The temporary data provider.

Applies to