DesignerRegionCollection.GetEnumerator Method

Definition

Returns an enumerator that iterates through the collection.

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

Returns

An IEnumerator that can be used to iterate through the collection.

Remarks

Use the Count property together with a loop construct, such as while, for, or foreach statements, to enumerate through the DesignerRegionCollection object.

Applies to

See also