Редагувати

Поділитися через


OrderedDictionary<TKey,TValue>.Enumerator Struct

Definition

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::IDictionaryEnumerator
public struct OrderedDictionary<TKey,TValue>.Enumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.IDictionaryEnumerator
type OrderedDictionary<'Key, 'Value>.Enumerator = struct
    interface IEnumerator<KeyValuePair<'Key, 'Value>>
    interface IEnumerator
    interface IDisposable
    interface IDictionaryEnumerator
Public Structure OrderedDictionary(Of TKey, TValue).Enumerator
Implements IDictionaryEnumerator, IEnumerator(Of KeyValuePair(Of TKey, TValue))

Type Parameters

TKey
TValue
Inheritance
OrderedDictionary<TKey,TValue>.Enumerator
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.

Applies to