SessionExtensions.SetInt32(ISession, String, Int32) 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.
Sets an int value in the ISession.
public:
[System::Runtime::CompilerServices::Extension]
static void SetInt32(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key, int value);
public static void SetInt32 (this Microsoft.AspNetCore.Http.ISession session, string key, int value);
static member SetInt32 : Microsoft.AspNetCore.Http.ISession * string * int -> unit
<Extension()>
Public Sub SetInt32 (session As ISession, key As String, value As Integer)
Parameters
- key
- String
The key to assign.
- value
- Int32
The value to assign.