Export (0) Print
Expand All

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)

public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An IEnumerator that can iterate through the variable names in the session-state collection.

Implements

IHttpSessionState.GetEnumerator()

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft