Share via


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)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of UIObject)
public IEnumerator<UIObject> GetEnumerator()
public:
IEnumerator<UIObject^>^ GetEnumerator()
member GetEnumerator : unit -> IEnumerator<UIObject> 
public function GetEnumerator() : IEnumerator<UIObject>

Return Value

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

.NET Framework Security

See Also

Reference

UIMap Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace