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