HttpStaticObjectsCollection.GetEnumerator Method ()

 

Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection.

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

public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

The enumerator for the collection.

The following example creates an enumerator for the StaticObjects collection.

System.Collections.IEnumerator myEnumerator = 
    Application.StaticObjects.GetEnumerator();

.NET Framework
Available since 1.1
Return to top
Show: