UITestControlCollection.GetEnumerator Method
Returns an enumerator that iterates through the UITestControlCollection instance.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of UITestControl)
public IEnumerator<UITestControl> GetEnumerator()
public:
virtual IEnumerator<UITestControl^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<UITestControl>
override GetEnumerator : unit -> IEnumerator<UITestControl>
public final function GetEnumerator() : IEnumerator<UITestControl>
Return Value
Type: IEnumerator<UITestControl>
An IEnumerator for the UITestControlCollection instance.
Implements
IEnumerable.GetEnumerator
.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.