Editar

Compartilhar via


RefEnumerable<T>.TryCopyFrom(ReadOnlySpan<T>) Method

Definition

Attempts to copy the source ReadOnlySpan<T> into the current RefEnumerable<T> instance.

public bool TryCopyFrom (ReadOnlySpan<T> source);
member this.TryCopyFrom : ReadOnlySpan<'T> -> bool
Public Function TryCopyFrom (source As ReadOnlySpan(Of T)) As Boolean

Parameters

source
ReadOnlySpan<T>

The source ReadOnlySpan<T> instance.

Returns

Whether or not the operation was successful.

Applies to