ReadOnlyTensorSpan<T>.TryFlattenTo(Span<T>) 方法

定義

將這個範圍的內容扁平化為提供的 Span<T>

public:
 bool TryFlattenTo(Span<T> destination);
public bool TryFlattenTo (scoped Span<T> destination);
member this.TryFlattenTo : Span<'T> -> bool
Public Function TryFlattenTo (destination As Span(Of T)) As Boolean

參數

destination
Span<T>

要複製專案到其中的範圍。

傳回

適用於