Click or drag to resize

SpanTTryCopyTo Method

Attempts to copy the contents of this span into a destination SpanT and returns a value indicating whether the operation succeeded.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public bool TryCopyTo(
	Span<T> destination
)

Parameters

destination  SpanT
The target span.

Return Value

Boolean
if the copy succeeded; if destination is too small.
See Also