Freigeben über


BuffersExtensions.CopyTo<T> Methode

Definition

Kopiert die ReadOnlySequence<T> in die angegebene Span<T>.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Buffers::ReadOnlySequence<T> % source, Span<T> destination);
public static void CopyTo<T> (this in System.Buffers.ReadOnlySequence<T> source, Span<T> destination);
static member CopyTo : ReadOnlySequence * Span<'T> -> unit
<Extension()>
Public Sub CopyTo(Of T) (ByRef source As ReadOnlySequence(Of T), destination As Span(Of T))

Typparameter

T

Der Typ der Elemente in .ReadOnlySequence<T>

Parameter

destination
Span<T>

Das Ziel-Span<T>.

Gilt für: