Condividi tramite


TempDataDictionaryFactory.GetTempData(HttpContext) Metodo

Definizione

Ottiene o crea un'istanza ITempDataDictionary per la richiesta associata all'oggetto specificato context.

public:
 virtual Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ GetTempData(Microsoft::AspNetCore::Http::HttpContext ^ context);
public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData (Microsoft.AspNetCore.Http.HttpContext context);
abstract member GetTempData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
override this.GetTempData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
Public Function GetTempData (context As HttpContext) As ITempDataDictionary

Parametri

context
HttpContext

Oggetto HttpContext.

Restituisce

ITempDataDictionary Istanza della richiesta associata all'oggetto specificatocontext.

Implementazioni

Si applica a