Try our conversational search powered by Generative AI!

Class StorageCollectionEnumerator

Implements operations for the storage collection enumerator. (Inherits System.IDisposable, System.Collections.IEnumerator.)

Inheritance
System.Object
StorageCollectionEnumerator
Implements
System.IDisposable
System.Collections.IEnumerator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Storage
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
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()

Implements

System.IDisposable
System.Collections.IEnumerator