ImageFrameCollection<TPixel>.Enumerator Struct

Enumerates the frames of an ImageFrameCollection<TPixel>.

public new struct Enumerator : IEnumerator<ImageFrame<TPixel>>, IEnumerator, IDisposable
Implements

Properties

NameDescription
CurrentGets the current frame.
System.Collections.IEnumerator.Current

Gets the current frame.

public readonly ImageFrame<TPixel> Current { get; }

Property value

ImageFrame<TPixel>

System.Collections.IEnumerator.Current

ImageFrameCollection{TPixel}.cs
object IEnumerator.Current { get; }

Property value

object

No documentation is available.

Methods

NameDescription
Dispose()Releases the enumerator. This method does nothing.
MoveNext()Advances to the next frame.
Reset()Resets the enumerator to its initial position.

Releases the enumerator. This method does nothing.

public readonly void Dispose()

Advances to the next frame.

public bool MoveNext()

Returns

bool true if there is a current frame; false at the end of the collection.

Exceptions

InvalidOperationException
The collection was structurally modified.

Resets the enumerator to its initial position.

public void Reset()