AutomationElementCollection.GetEnumerator Method

Definition

Returns an enumerator that can be used to iterate through the items in the collection.

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

Returns

IEnumerator

An enumerator that can be used to iterate through the AutomationElementCollection.

Implements

Applies to