DictionaryExtensions.Remove<TK,TV> 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.
Remove key from the ConcurrentDictionary
public:
generic <typename TK, typename TV>
[System::Runtime::CompilerServices::Extension]
static void Remove(System::Collections::Concurrent::ConcurrentDictionary<TK, TV> ^ dictionary, TK key);
public static void Remove<TK,TV> (this System.Collections.Concurrent.ConcurrentDictionary<TK,TV> dictionary, TK key);
static member Remove : System.Collections.Concurrent.ConcurrentDictionary<'K, 'V> * 'K -> unit
<Extension()>
Public Sub Remove(Of TK, TV) (dictionary As ConcurrentDictionary(Of TK, TV), key As TK)
Type Parameters
- TK
type of the dictionary argument key
- TV
type of the dictionary argument value
Parameters
- dictionary
- ConcurrentDictionary<TK,TV>
dictionary
- key
- TK
key