ImmutableDictionary<TKey,TValue>.Remove(TKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the element with the specified key from the immutable dictionary.
public:
System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ Remove(TKey key);
public System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Remove (TKey key);
member this.Remove : 'Key -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function Remove (key As TKey) As ImmutableDictionary(Of TKey, TValue)
Parameters
- key
- TKey
The key of the element to remove.
Returns
A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.