The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SessionStateItemCollection::GetEnumerator Method ()
.NET Framework (current version)
Returns an enumerator that can be used to read all the key names in the collection.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System.Collections::IEnumerator^An IEnumerator that can iterate through the variable names in the session-state collection.
The following code example gets the variable names in a SessionStateItemCollection collection using the GetEnumerator method.
.NET Framework
Available since 2.0
Available since 2.0
Show: