ImmutableSortedDictionary<TKey,TValue>.ToBuilder Método
Definição
Cria um dicionário classificado imutável com o mesmo conteúdo deste dicionário que pode ser modificado com eficiência em várias operações usando interfaces mutáveis padrão.Creates an immutable sorted dictionary with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.
public:
System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue>::Builder ^ ToBuilder();
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder ToBuilder ();
member this.ToBuilder : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function ToBuilder () As ImmutableSortedDictionary(Of TKey, TValue).Builder
Retornos
Uma coleção com o mesmo conteúdo deste dicionário.A collection with the same contents as this dictionary.
Comentários
Essa é uma operação O (1) e resulta em uma única alocação de memória (pequena).This is an O(1) operation and results in only a single (small) memory allocation. A coleção mutável retornada não é thread-safe.The mutable collection that is returned is not thread safe.