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

Définition

Crée un dictionnaire trié immuable en fonction du contenu de cette instance.

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)

Retours

Dictionnaire trié immuable.

Remarques

Cette méthode est une opération O(n) qui approche O(1), car le nombre de mutations réelles dans l’ensemble depuis le dernier appel à cette méthode approche de 0.

S’applique à