OrderedDictionary<TKey,TValue>.Enumerator Struct 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the elements of a OrderedDictionary<TKey,TValue>.
public: value class OrderedDictionary<TKey, TValue>::Enumerator : System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>>, System::Collections::IDictionaryEnumeratorpublic struct OrderedDictionary<TKey,TValue>.Enumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.IDictionaryEnumeratortype OrderedDictionary<'Key, 'Value>.Enumerator = struct
    interface IEnumerator<KeyValuePair<'Key, 'Value>>
    interface IEnumerator
    interface IDisposable
    interface IDictionaryEnumeratorPublic Structure OrderedDictionary(Of TKey, TValue).Enumerator
Implements IDictionaryEnumerator, IEnumerator(Of KeyValuePair(Of TKey, TValue))Type Parameters
- TKey
- TValue
- Inheritance
- Implements
Properties
| Current | Gets the element in the collection at the current position of the enumerator. | 
Methods
| MoveNext() | Advances the enumerator to the next element of the collection. | 
Explicit Interface Implementations
| IDictionaryEnumerator.Entry | Gets both the key and the value of the current dictionary entry. | 
| IDictionaryEnumerator.Key | Gets the key of the current dictionary entry. | 
| IDictionaryEnumerator.Value | Gets the value of the current dictionary entry. | 
| IDisposable.Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | 
| IEnumerator.Current | Gets the element in the collection at the current position of the enumerator. | 
| IEnumerator.Reset() | Sets the enumerator to its initial position, which is before the first element in the collection. |