Прочитај на енглеском Уреди

Делите путем


SpanEnumerable<T> Struct

Definition

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

C#
public ref struct SpanEnumerable<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

Производ Верзије
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0