ValueString.TryCopyTo(Span<Char>) Method

Definition

Attempts to copy the contents of this string into a Span<T> and returns a value indicating whether or not the operation succeeded.

public bool TryCopyTo (Span<char> destination);
member this.TryCopyTo : Span<char> -> bool
Public Function TryCopyTo (destination As Span(Of Char)) As Boolean

Parameters

destination
Span<Char>

The span into which to copy items.

Returns

true if the copy operation suceeded; otherwise, false.

Applies to