CollectionExtensions.Remove(IDictionary<TKey,TValue>, TKey, TValue) CollectionExtensions.Remove(IDictionary<TKey,TValue>, TKey, TValue) CollectionExtensions.Remove(IDictionary<TKey,TValue>, TKey, TValue) CollectionExtensions.Remove(IDictionary<TKey,TValue>, TKey, TValue) Method

定義

public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static bool Remove(System::Collections::Generic::IDictionary<TKey, TValue> ^ dictionary, TKey key, [Runtime::InteropServices::Out] TValue % value);
public static bool Remove<TKey,TValue> (this System.Collections.Generic.IDictionary<TKey,TValue> dictionary, TKey key, out TValue value);
static member Remove : System.Collections.Generic.IDictionary<'Key, 'Value> * 'Key *  -> bool
<Extension()>
Public Function Remove(Of TKey, TValue) (dictionary As IDictionary(Of TKey, TValue), key As TKey, ByRef value As TValue) As Boolean

類型參數

TKey
TValue

參數

key
value
TValue TValue TValue TValue

傳回

適用於