Control.ControlCollection.GetEnumerator Method

Definition

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

An IEnumerator.

Implements

Applies to