StateBag.GetEnumerator Method ()

 

Returns an enumerator that iterates over all the key/value pairs of the StateItem objects stored in the StateBag object.

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

abstract GetEnumerator : unit -> IDictionaryEnumerator
override GetEnumerator : unit -> IDictionaryEnumerator

Return Value

Type: System.Collections.IDictionaryEnumerator

The enumerator to iterate through the state bag.

The following example demonstrates how to use the GetEnumerator method.

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

.NET Framework
Available since 1.1
Return to top
Show: