ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Remove 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.
See the IImmutableDictionary<TKey,TValue> interface.
virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove(TKey key) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::Remove;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.Remove (TKey key);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function Remove (key As TKey) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).Remove
Parameters
- key
- TKey
Key of the entry to be removed.
Returns
A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.
Implements
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET