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: IEnumerator<UIObject>
The enumerator for this map.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace