This documentation is archived and is not being maintained.

HttpSessionState.Keys Property

Gets a collection of the keys of all values stored in the session.

[Visual Basic]
Public ReadOnly Property Keys As _
   NameObjectCollectionBase.KeysCollection
[C#]
public NameObjectCollectionBase.KeysCollection Keys {get;}
[C++]
public: __property NameObjectCollectionBase.KeysCollection*
   get_Keys();
[JScript]
public function get Keys() :
   NameObjectCollectionBase.KeysCollection;

Property Value

The NameObjectCollectionBase.KeysCollection containing the session keys.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace

Show: