SessionStateStoreData.Items Property
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.
The session variables and values for the current session.
public:
virtual property System::Web::SessionState::ISessionStateItemCollection ^ Items { System::Web::SessionState::ISessionStateItemCollection ^ get(); };
public virtual System.Web.SessionState.ISessionStateItemCollection Items { get; }
member this.Items : System.Web.SessionState.ISessionStateItemCollection
Public Overridable ReadOnly Property Items As ISessionStateItemCollection
Property Value
An ISessionStateItemCollection object that contains variables and values for the current session.
Remarks
The Items property references the session-state variables that are exposed to ASP.NET application code using the HttpSessionState class, which is accessed using the Session property of the current HttpContext or the Page instance.
By default, session-state variables are managed using the SessionStateItemCollection object. Custom session-store implementers can supply their own implementation of the ISessionStateItemCollection interface.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om