Partager via


Session.GetEnumerator Method ()

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Returns an enumerator that iterates through the collection

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

public IEnumerator GetEnumerator()
Public Function GetEnumerator As IEnumerator

Return Value

Type: System.Collections.IEnumerator

IEnumerator interface reference.

Implements

IEnumerable.GetEnumerator()

Remarks

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

See Also

Session Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright