Method TryRemove
TryRemove<TKey, TValue>(IDictionary<TKey, TValue>, TKey, out TValue)
Declaration
public static bool TryRemove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, out TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionary<TKey, TValue> | dictionary | |
| TKey | key | |
| TValue | value |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| TKey | |
| TValue |