共用方式為


PageModel.TempData 屬性

定義

取得或設定 ITempDataDictionary 所使用的 PageResult

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

屬性值

適用於