Compartir a través de


TempDataDictionaryFactory.GetTempData(HttpContext) Método

Definición

Obtiene o crea una ITempDataDictionary instancia de para la solicitud asociada a la especificada 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

Parámetros

Devoluciones

Instancia ITempDataDictionary de la solicitud asociada a la especificada context.

Implementaciones

Se aplica a