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

Definición

Crea un diccionario ordenado inmutable basado en el contenido de esta instancia.

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)

Devoluciones

Diccionario ordenado inmutable.

Comentarios

Este método es una operación O(n) y se aproxima a la hora de O(1) a medida que el número de mutaciones reales en el conjunto desde la última llamada a este método se aproxima a 0.

Se aplica a