Sdílet prostřednictvím


DictionaryExtensions.Remove<TK,TV> Metoda

Definice

Odebrání klíče ze souběžného slovníku

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)

Parametry typu

TK

typ klíče argumentu slovníku

TV

typ hodnoty argumentu slovníku

Parametry

dictionary
ConcurrentDictionary<TK,TV>

Slovník

key
TK

key

Platí pro