Edit

ArcBuffer.ArraySegmentEnumerator Struct

Definition

Enumerates over array segments in a ArcBuffer.

public struct ArcBuffer.ArraySegmentEnumerator : System.Collections.Generic.IEnumerable<ArraySegment<byte>>, System.Collections.Generic.IEnumerator<ArraySegment<byte>>
type ArcBuffer.ArraySegmentEnumerator = struct
    interface seq<ArraySegment<byte>>
    interface IEnumerable
    interface IEnumerator<ArraySegment<byte>>
    interface IEnumerator
    interface IDisposable
Public Structure ArcBuffer.ArraySegmentEnumerator
Implements IEnumerable(Of ArraySegment(Of Byte)), IEnumerator(Of ArraySegment(Of Byte))
Inheritance
ArcBuffer.ArraySegmentEnumerator
Implements

Remarks

Initializes a new instance of the ArcBuffer.ArraySegmentEnumerator type.

Constructors

Name Description
ArcBuffer.ArraySegmentEnumerator(ArcBuffer)

Enumerates over array segments in a ArcBuffer.

Properties

Name Description
Current

Gets the element in the collection at the current position of the enumerator.

IsCompleted

Gets a value indicating whether enumeration has completed.

Methods

Name Description
GetEnumerator()

Gets this instance as an enumerator.

MoveNext()

Advances the enumerator to the next element of the collection.

Explicit Interface Implementations

Name Description
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ArraySegment<Byte>>.GetEnumerator()

Returns an enumerator that iterates through the collection.

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.

Extension Methods

Name Description
BatchIEnumerable<T>(IEnumerable<T>, Int32)

Applies to