ReadOnlyDictionary<TKey, TValue>.GetEnumerator Method
Gets an IEnumerator of the items in the dictionary.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Декларация
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of TKey, TValue))
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 final function GetEnumerator() : IEnumerator<KeyValuePair<TKey, TValue>>
Return Value
Type: System.Collections.Generic.IEnumerator<KeyValuePair<TKey, TValue>>
An T:System.Collections.IEnumerator of the key-value pairs in the dictionary.
Implements
IEnumerable<T>.GetEnumerator()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.