共用方式為


CookieTempDataProvider.SaveTempData 方法

定義

將暫存資料儲存至要求。

public:
 virtual 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
override this.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>

值。

實作

適用於