共用方式為


DataCollection<TKey, TValue>.GetEnumerator Method ()

 

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

Returns an enumerator that iterates through a collection.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of TKey, TValue))

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<TKey, TValue>>

Type: IEnumerator<KeyValuePair<TKey, TValue>>
An IEnumerator object that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright