DataCollection<TKey, TValue>.GetEnumerator Method ()

 

Applies To: Dynamics CRM 2015

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:
virtual IEnumerator<KeyValuePair<TKey, TValue>>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<'TKey, 'TValue>>
override GetEnumerator : unit -> IEnumerator<KeyValuePair<'TKey, 'TValue>>
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

© 2016 Microsoft. All rights reserved. Copyright