Edit

Share via


ReadOnlySpanEnumerable<T> Struct

Definition

A refstruct that enumerates the items in a given ReadOnlySpan<T> instance.

public ref struct ReadOnlySpanEnumerable<T>
type ReadOnlySpanEnumerable<'T> = struct
Public Structure ReadOnlySpanEnumerable(Of T)

Type Parameters

T

The type of items to enumerate.

Inheritance
ReadOnlySpanEnumerable<T>

Constructors

ReadOnlySpanEnumerable<T>(ReadOnlySpan<T>)

Initializes a new instance of the ReadOnlySpanEnumerable<T> struct.

Properties

Current

Gets the duck-typed Current property.

Methods

GetEnumerator()

Implements the duck-typed GetEnumerator() method.

MoveNext()

Implements the duck-typed MoveNext() method.

Applies to