ImmutableArray<T>.Builder.MoveToImmutable Método

Definição

Extrai o array interno como um ImmutableArray<T> e substitui-lo por um array 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)

Devoluções

Um array imutável contendo os elementos do construtor.

Exceções

Quando Count não é igual Capacitya .

Aplica-se a