共用方式為


BuffersExtensions.CopyTo<T> 方法

定義

ReadOnlySequence<T> 複製到指定的 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))

類型參數

T

ReadOnlySequence<T>專案的型別。

參數

destination
Span<T>

目的 Span<T>

適用於