 | ReadOnlySpanTCopyTo(SpanT) Method |
Copies the contents of this span into a destination
SpanT.
Overlapping regions are handled correctly.
Namespace: SystemAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic void CopyTo(
Span<T> destination
)
Public Sub CopyTo (
destination As Span(Of T)
)
Parameters
- destination SpanT
- The target span.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when destination is shorter than this span.
|
See Also