SessionExtensions.GetString(ISession, String) メソッド

定義

から ISession文字列値を取得します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetString(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key);
public static string GetString (this Microsoft.AspNetCore.Http.ISession session, string key);
public static string? GetString (this Microsoft.AspNetCore.Http.ISession session, string key);
static member GetString : Microsoft.AspNetCore.Http.ISession * string -> string
<Extension()>
Public Function GetString (session As ISession, key As String) As String

パラメーター

session
ISession

ISession

key
String

読み取るキー。

戻り値

適用対象