共用方式為


Control.ControlCollection.GetEnumerator 方法

定義

擷取用來反覆查看 Control.ControlCollection 之列舉值物件的參考。

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

傳回

IEnumerator

IEnumerator

實作

適用於