SessionExtensions.GetInt32(ISession, 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.
Gets an int value from ISession.
public:
[System::Runtime::CompilerServices::Extension]
static Nullable<int> GetInt32(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key);
public static int? GetInt32 (this Microsoft.AspNetCore.Http.ISession session, string key);
static member GetInt32 : Microsoft.AspNetCore.Http.ISession * string -> Nullable<int>
<Extension()>
Public Function GetInt32 (session As ISession, key As String) As Nullable(Of Integer)
Parameters
- key
- String
The key to read.