Control.ControlCollection.GetEnumerator 方法

定义

检索对用于循环访问 Control.ControlCollection 的枚举数对象的引用。Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection.

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

返回

实现

适用于