ImmutableSortedDictionary<TKey,TValue>.Builder.ToImmutable Método

Definição

Cria um dicionário classificado imutável de acordo com o conteúdo desta instância.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutable();
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutable ();
member this.ToImmutable : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function ToImmutable () As ImmutableSortedDictionary(Of TKey, TValue)

Retornos

Um dicionário classificado imutável.

Comentários

Esse método é uma operação O(n) e se aproxima do tempo de O(1) como o número de mutações reais para o conjunto desde que a última chamada a esse método se aproxima de 0.

Aplica-se a