共用方式為


SessionStateTempDataProvider.SaveTempData 方法

定義

儲存暫存資料。

public:
 virtual void SaveTempData(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ values);
public virtual 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 Overridable Sub SaveTempData (context As HttpContext, values As IDictionary(Of String, Object))

參數

values
IDictionary<String,Object>

要儲存的值。

實作

適用於