Compartir a través de


DesktopApplicationUIBase.GetEnumerator Method

Iterates through the applications.

Namespace: Microsoft.Uii.Desktop.UI.Controls
Assembly: Microsoft.Uii.Desktop.UI.Controls (in Microsoft.Uii.Desktop.UI.Controls.dll)

Usage

'Usage
Dim instance As DesktopApplicationUIBase
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator

Syntax

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

Return Value

Type: IEnumerator

Remarks

This is what is used for a 'foreach ( IHostedApplication app in appsUI )'

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

DesktopApplicationUIBase Class
DesktopApplicationUIBase Members
Microsoft.Uii.Desktop.UI.Controls Namespace

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