Edit

Share via


ReadOnlyCollectionBuilder<T>.ToArray Method

Definition

Copies the elements of the ReadOnlyCollectionBuilder<T> to a new array.

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

Returns

T[]

An array containing copies of the elements of the ReadOnlyCollectionBuilder<T>.

Applies to