Control.ControlCollection.GetEnumerator Method

Definition

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

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

Returns

IEnumerator

一个 IEnumeratorAn IEnumerator.

Implements

Applies to