Partager via


DictionaryExtensions.Remove<TK,TV> Méthode

Définition

Supprimer la clé du 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)

Paramètres de type

TK

type de la clé d’argument du dictionnaire

TV

type de la valeur de l’argument du dictionnaire

Paramètres

dictionary
ConcurrentDictionary<TK,TV>

dictionnaire

key
TK

key

S’applique à