ImmutableArray<T>.Builder.ToArray Method

Definition

Creates a new array with the current contents of this ImmutableArray<T>.Builder.

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

Returns

T[]

A new array with the contents of this ImmutableArray<T>.Builder.

Applies to