SessionExtensions.SetString(ISession, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- key
- String
The key to assign.
- value
- String
The value to assign.