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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour