共用方式為


RequestContext.Set(String, Object) 方法

定義

在要求內容中設定值。

public static void Set (string key, object value);
static member Set : string * obj -> unit
Public Shared Sub Set (key As String, value As Object)

參數

key
String

要更新或新增之值的索引鍵。

value
Object

要儲存在要求內容中的值。

適用於