Share via


ArrayBuilder<T>.ToImmutableAndClear Method

Definition

Realizes the array and clears the collection.

public System.Collections.Immutable.ImmutableArray<T> ToImmutableAndClear ();
member this.ToImmutableAndClear : unit -> System.Collections.Immutable.ImmutableArray<'T>
Public Function ToImmutableAndClear () As ImmutableArray(Of T)

Returns

Applies to