다음을 통해 공유


SessionExtensions.SetString(ISession, String, String) 메서드

정의

StringISession값을 설정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetString(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key, System::String ^ value);
public static void SetString (this Microsoft.AspNetCore.Http.ISession session, string key, string value);
static member SetString : Microsoft.AspNetCore.Http.ISession * string * string -> unit
<Extension()>
Public Sub SetString (session As ISession, key As String, value As String)

매개 변수

session
ISession

ISession

key
String

할당할 키입니다.

value
String

할당할 값입니다.

적용 대상