Bagikan melalui


BuffersExtensions.CopyTo<T> Metode

Definisi

Menyalin ke ReadOnlySequence<T> yang ditentukan 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))

Jenis parameter

T

Jenis item di ReadOnlySequence<T>.

Parameter

destination
Span<T>

Tujuan Span<T>.

Berlaku untuk