SequenceReader<T>.CurrentSpan 属性

定义

获取 Span<T>,它包含 Sequence 中的当前段。

public:
 property ReadOnlySpan<T> CurrentSpan { ReadOnlySpan<T> get(); };
public ReadOnlySpan<T> CurrentSpan { get; }
member this.CurrentSpan : ReadOnlySpan<'T (requires 'T : struct)>
Public ReadOnly Property CurrentSpan As ReadOnlySpan(Of T)

属性值

包含序列中当前段的跨度。

适用于