Udostępnij za pośrednictwem


ControlCollection.GetEnumerator Method

Gets an enumerator that iterates through the collection.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim instance As ControlCollection
Dim returnValue As IEnumerator(Of ControlElement)

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of ControlElement)
public IEnumerator<ControlElement> GetEnumerator ()
public:
virtual IEnumerator<ControlElement^>^ GetEnumerator () sealed
public final IEnumerator<ControlElement> GetEnumerator ()
public final function GetEnumerator () : IEnumerator<ControlElement>

Return Value

A IEnumerator that can be used to iterate through the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

ControlCollection Class
ControlCollection Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.