 | ReadOnlySpanTTryCopyTo Method |
Attempts to copy the contents of this span into a destination
SpanT
and returns a value indicating whether the operation succeeded.
Namespace: SystemAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic bool TryCopyTo(
Span<T> destination
)
Public Function TryCopyTo (
destination As Span(Of T)
) As Boolean
Parameters
- destination SpanT
- The target span.
Return Value
Boolean if the copy succeeded;
if
destination is shorter than this span.
See Also