ImmutableSortedDictionary<TKey,TValue>.ToBuilder 方法

定義

建立與此字典 (能夠使用標準變動介面,有效率地跨多個作業進行變動) 內容相同之不可變排序字典。

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

傳回

與此字典具有相同內容的集合。

備註

這是 O (1) 作業,而且只會產生單一 (小型) 記憶體配置。 傳回的可變動集合不是安全線程。

適用於