Span2D<T>.TryGetSpan(Span<T>) 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.
Tries to get a Span<T> instance, if the underlying buffer is contiguous and small enough.
public bool TryGetSpan (out Span<T> span);
member this.TryGetSpan : Span -> bool
Public Function TryGetSpan (ByRef span As Span(Of T)) As Boolean
Parameters
Returns
Whether or not span
was correctly assigned.