SessionExtensions.Get(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 a byte-array value from ISession.
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Byte> ^ Get(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key);
public static byte[] Get (this Microsoft.AspNetCore.Http.ISession session, string key);
public static byte[]? Get (this Microsoft.AspNetCore.Http.ISession session, string key);
static member Get : Microsoft.AspNetCore.Http.ISession * string -> byte[]
<Extension()>
Public Function Get (session As ISession, key As String) As Byte()
Parameters
- key
- String
The key to read.
Returns
Byte[]