ReadOnlySpan2D<T>.TryCopyTo 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
TryCopyTo(Span2D<T>) |
Attempts to copy the current ReadOnlySpan2D<T> instance to a destination Span2D<T>. |
TryCopyTo(Span<T>) |
Attempts to copy the current ReadOnlySpan2D<T> instance to a destination Span<T>. |
TryCopyTo(Span2D<T>)
Attempts to copy the current ReadOnlySpan2D<T> instance to a destination Span2D<T>.
public bool TryCopyTo (Microsoft.Toolkit.HighPerformance.Span2D<T> destination);
member this.TryCopyTo : Microsoft.Toolkit.HighPerformance.Span2D<'T> -> bool
Public Function TryCopyTo (destination As Span2D(Of T)) As Boolean
Parameters
Returns
Whether or not the operation was successful.
Applies to
TryCopyTo(Span<T>)
Attempts to copy the current ReadOnlySpan2D<T> instance to a destination Span<T>.
public bool TryCopyTo (Span<T> destination);
member this.TryCopyTo : Span<'T> -> bool
Public Function TryCopyTo (destination As Span(Of T)) As Boolean
Parameters
Returns
Whether or not the operation was successful.