Class StorageCollectionEnumerator
Implements operations for the storage collection enumerator. (Inherits System.IDisposable, System.Collections.IEnumerator.)
Inheritance
Implements
Inherited Members
Namespace: Mediachase.Commerce.Storage
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public sealed class StorageCollectionEnumerator : IDisposable, IEnumerator
Explicit Interface Implementations
IEnumerator.Current
Gets the current element in the collection.
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The enumerator is positioned before the first element of the collection or after the last element. |
IEnumerator.MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
bool IEnumerator.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. |
IEnumerator.Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
void IEnumerator.Reset()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
IDisposable.Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void IDisposable.Dispose()