ProviderCollection.GetEnumerator Method

Definition

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

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

An object that implements IEnumerator to iterate through the collection.

Implements

Remarks

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

Applies to