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.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
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