ImmutableArray<T>.Builder.ToImmutable Method

Definition

Returns an immutable array that contains the current contents of this ImmutableArray<T>.Builder.

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

Returns

An immutable array that contains the current contents of this ImmutableArray<T>.Builder.

Applies to