ProviderCollection::GetEnumerator Method ()

 

Returns an object that implements the IEnumerator interface to iterate through the collection.

Namespace:   System.Configuration.Provider
Assembly:  System.Configuration (in System.Configuration.dll)

public:
virtual IEnumerator^ GetEnumerator() sealed

Return Value

Type: System.Collections::IEnumerator^

An object that implements IEnumerator to iterate through the collection.

The ProviderCollection class stores its collection in a Hashtable object. The ProviderCollection::GetEnumerator method calls the Hashtable::GetEnumerator method.

.NET Framework
Available since 2.0
Return to top
Show: