ViewContext.TempData 属性

定义

获取或设置 ITempDataDictionary 实例。

public:
 property Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ TempData { Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ value); };
public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary TempData { get; set; }
member this.TempData : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary with get, set
Public Property TempData As ITempDataDictionary

属性值

适用于