HttpSessionStateContainer::GetEnumerator Method ()


Returns an enumerator that can be used to read all the session-state variable names in the current session.

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

virtual IEnumerator^ GetEnumerator() sealed

Return Value

Type: System.Collections::IEnumerator^

An IEnumerator that can iterate through the variable names in the session-state collection.

.NET Framework
Available since 2.0
Return to top