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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈