asp.net.ph

HttpStaticObjectsCollection.GetEnumerator Method

System.Web Namespace   HttpStaticObjectsCollection Class


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

[ VB ]
NotOverridable Public Function GetEnumerator ( ) As IEnumerator _
   Implements IEnumerable.GetEnumerator

[ C# ]
public IEnumerator GetEnumerator ( );

[ C++ ]
public: __sealed IEnumerator* GetEnumerator ( );

[ JScript ]
public function GetEnumerator ( ) : IEnumerator;

Return Value

The enumerator for the collection.

Implements

IEnumerable.GetEnumerator

Example

The following example creates an enumerator for the StaticObjects collelction.

[ VB ]
Dim myEnumerator As System.Collections.IEnumerator = _
   Application.StaticObjects.GetEnumerator ( )

[ C# ]
System.Collections.IEnumerator myEnumerator = 
   Application.StaticObjects.GetEnumerator ( );
See Also

HttpStaticObjectsCollection Members   HttpApplicationState.StaticObjects Property Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph