The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIMap.GetEnumerator Method

Returns an enumerator that can enumerate through all the objects in this map. These objects include top-level windows.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public IEnumerator<UIObject> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<UIObject>
The enumerator for this map.