Sdílet prostřednictvím


BuffersExtensions.CopyTo<T> Metoda

Definice

Zkopíruje do zadaného Span<T>parametru ReadOnlySequence<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))

Parametry typu

T

Typ položek v .ReadOnlySequence<T>

Parametry

destination
Span<T>

Cíl Span<T>.

Platí pro