SessionExtensions.GetString(ISession, String) Método

Definição

Obtém um valor de cadeia de caracteres de ISession.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetString(Microsoft::AspNetCore::Http::ISession ^ session, System::String ^ key);
public static string GetString (this Microsoft.AspNetCore.Http.ISession session, string key);
public static string? GetString (this Microsoft.AspNetCore.Http.ISession session, string key);
static member GetString : Microsoft.AspNetCore.Http.ISession * string -> string
<Extension()>
Public Function GetString (session As ISession, key As String) As String

Parâmetros

session
ISession

O ISession.

key
String

A chave a ser lida.

Retornos

Aplica-se a