Edit

Share via


RefEnumerable<T>.ToArray Method

Definition

Returns a T array with the values in the target row.

public T[] ToArray ();
member this.ToArray : unit -> 'T[]
Public Function ToArray () As T()

Returns

T[]

A T array with the values in the target row.

Remarks

This method will allocate a new T array, so only use it if you really need to copy the target items in a new memory location.

Applies to