다음을 통해 공유


SessionExtensions.GetInt32(ISession, String) 메서드

정의

에서 int 값을 가져옵니다 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)

매개 변수

session
ISession

ISession

key
String

읽을 키입니다.

반환

적용 대상