ImmutableArray<T>.Builder.MoveToImmutable Método

Definição

Extrai a matriz interna como um ImmutableArray<T> e a substitui por uma matriz de comprimento zero.

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

Retornos

Uma matriz imutável que contém os elementos do construtor.

Exceções

Quando Count não for igual Capacitya .

Aplica-se a