共用方式為


ITempDataProvider.SaveTempData 方法

定義

儲存暫存資料。

public:
 void SaveTempData(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ values);
public void SaveTempData (Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary<string,object> values);
abstract member SaveTempData : Microsoft.AspNetCore.Http.HttpContext * System.Collections.Generic.IDictionary<string, obj> -> unit
Public Sub SaveTempData (context As HttpContext, values As IDictionary(Of String, Object))

參數

values
IDictionary<String,Object>

要儲存的值。

適用於