ProviderCollection.GetEnumerator ProviderCollection.GetEnumerator ProviderCollection.GetEnumerator ProviderCollection.GetEnumerator Method

定义

返回一个对象,该对象实现 IEnumerator 接口以循环访问集合。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

返回

实现 IEnumerator 以循环访问集合的对象。An object that implements IEnumerator to iterate through the collection.

实现

注解

ProviderCollection将其集合存储Hashtable在对象中。The ProviderCollection class stores its collection in a Hashtable object. ProviderCollection.GetEnumerator 方法调用 Hashtable.GetEnumerator 方法。The ProviderCollection.GetEnumerator method calls the Hashtable.GetEnumerator method.

适用于