다음을 통해 공유


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

읽을 키입니다.

반환

적용 대상