Condividi tramite


SessionExtensions.SetInt32(ISession, String, Int32) Metodo

Definizione

Imposta un valore int nell'oggetto 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)

Parametri

session
ISession

Oggetto ISession.

key
String

Chiave da assegnare.

value
Int32

Il valore da assegnare.

Si applica a