Modifier

Partager via


Memory2D<T>.ToArray Method

Definition

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.

Applies to