語言

ImmutableSortedDictionary<TKey,TValue>.Remove(TKey) 方法

定義

從不可變的排序字典中移除具有指定值的專案。

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Remove(TKey value);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Remove(TKey value);
member this.Remove : 'Key -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Remove (value As TKey) As ImmutableSortedDictionary(Of TKey, TValue)

參數

value
TKey

要移除的元素價值。

傳回

一個移除指定元素的新不變字典;或當指定值在字典中找不到時,則使用此實例。

適用於