Compartir a través de


SessionExtensions.Get(ISession, String) Método

Definición

Obtiene un valor de matriz de bytes de 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()

Parámetros

session
ISession

ISession.

key
String

Clave que se va a leer.

Devoluciones

Byte[]

Se aplica a