Memory2D<T>.ToArray 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.
Copies the contents of the current Memory2D<T> instance into a new 2D array.
public T[,] ToArray ();
member this.ToArray : unit -> 'T[,]
Public Function ToArray () As T(,)
Returns
T[,]
A 2D array containing the data in the current Memory2D<T> instance.