MultiValueSortedDictionary<TKey, TValue>.ValueCollection.Enumerator Struct
Namespace: Stride.Core.CollectionsAssembly: Stride.Core.dll
Enumerates the elements of a KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.
public struct Enumerator : IEnumerator<TValue>, IDisposable, IEnumerator
Name | Description | |
---|---|---|
Properties | ||
Current | Gets the element at the current position of the enumerator. |
|
Methods | ||
Dispose() | Releases all resources used by the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.Enumerator. |
|
MoveNext() | Advances the enumerator to the next element of the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection. |
|
Explicit Interface Implementations | ||
IEnumerator.Current | Gets the element 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. |
Properties
Current
Gets the element at the current position of the enumerator.
public readonly TValue Current { get; }
Property Value
Type | Description |
---|---|
TValue | The element in the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection at the current position of the enumerator. |
Methods
Dispose()
Releases all resources used by the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.Enumerator.
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
Explicit Interface Implementations
IEnumerator.Current
Gets the element at the current position of the enumerator.
readonly object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object | The element in the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection 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.
void IEnumerator.Reset()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |