IHttpSessionState::Keys Property

 

Gets a collection of the keys for all values stored in the session-state item collection.

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

property NameObjectCollectionBase::KeysCollection^ Keys {
	NameObjectCollectionBase::KeysCollection^ get();
}

The following code example implements the Keys property of the IHttpSessionState interface to return a collection of session-state item key names from the internal session-state item collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: