Editar

Compartilhar via


SpanEnumerable<T> Struct

Definition

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

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

Type Parameters

T

The type of items to enumerate.

Inheritance
SpanEnumerable<T>

Constructors

SpanEnumerable<T>(Span<T>)

Initializes a new instance of the SpanEnumerable<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