InternalDataCollectionBase.GetEnumerator 方法

定义

获取集合的 IEnumeratorGets an IEnumerator for the collection.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
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 Overridable Function GetEnumerator () As IEnumerator
Public Function GetEnumerator () As IEnumerator

返回

IEnumerator

集合的 IEnumeratorAn IEnumerator for the collection.

实现

注解

BaseCollection类及其成员不能用作独立组件,而是用作其他集合类从中派生标准功能的类。The BaseCollection class and its members are not intended for use as a stand-alone component, but as the class from which other collection classes derive standard functionality.

适用于