Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnumerator Method

HttpSessionStateWrapper.GetEnumerator Method

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

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

public override IEnumerator GetEnumerator()

Return Value

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

Implements

IEnumerable.GetEnumerator()

.NET Framework

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