ImmutableSortedDictionary<TKey,TValue>.ToBuilder Método

Definição

Cria um dicionário ordenado imutável com o mesmo conteúdo deste dicionário, que pode ser mutado eficientemente através de múltiplas operações usando interfaces mutáveis padrão.

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

Devoluções

Uma coleção com o mesmo conteúdo deste dicionário.

Observações

Esta é uma operação O(1) e resulta apenas numa única (pequena) alocação de memória. A coleção mutável que é devolvida não é segura para fios.

Aplica-se a