次の方法で共有


DictionaryExtensions.Remove<TK,TV> メソッド

定義

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)

型パラメーター

TK

ディクショナリ引数キーの型

TV

ディクショナリ引数値の型

パラメーター

dictionary
ConcurrentDictionary<TK,TV>

ディクショナリ

key
TK

key

適用対象