Export (0) Print
Expand All

ConcurrentDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Remove Method

Removes the specified key/value pair from the collection.

Namespace:  System.Collections.Concurrent
Assembly:  mscorlib (in mscorlib.dll)

bool ICollection<KeyValuePair<TKey, TValue>>.Remove(
	KeyValuePair<TKey, TValue> keyValuePair
)

Return Value

Type: System.Boolean
true if the element is successfully remove; otherwise false. This method also returns false if key was not found in the original ICollection<T>.

Implements

ICollection<T>.Remove(T)

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft