ReadOnlyDictionary<TKey, TValue>.GetEnumerator Method
Returns an enumerator that iterates through the current ReadOnlyDictionary instance
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of TKey, TValue))
'Usage
Dim instance As ReadOnlyDictionary
Dim returnValue As IEnumerator(Of KeyValuePair(Of TKey, TValue))
returnValue = instance.GetEnumerator()
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
Return Value
Type: System.Collections.Generic.IEnumerator<KeyValuePair<TKey, TValue>>
A IEnumerator object for iterating the ReadOnlyDictionary.
Implements
IEnumerable<T>.GetEnumerator()
See Also
Reference
ReadOnlyDictionary<TKey, TValue> Class