Span2D<T>.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CopyTo(Span2D<T>) |
Copies the contents of this Span2D<T> into a destination Span2D<T> instance. For this API to succeed, the target Span2D<T> has to have the same shape as the current one. |
CopyTo(Span<T>) |
Copies the contents of this Span2D<T> into a destination Span<T> instance. |
CopyTo(Span2D<T>)
public void CopyTo (CommunityToolkit.HighPerformance.Span2D<T> destination);
member this.CopyTo : CommunityToolkit.HighPerformance.Span2D<'T> -> unit
Public Sub CopyTo (destination As Span2D(Of T))
Parameters
Exceptions
Thrown when destination
does not have the same shape as the source Span2D<T> instance.
Applies to
CopyTo(Span<T>)
public void CopyTo (Span<T> destination);
member this.CopyTo : Span<'T> -> unit
Public Sub CopyTo (destination As Span(Of T))
Parameters
Exceptions
Thrown when destination
is shorter than the source Span2D<T> instance.