The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

.NET Framework 4.6 and 4.5

Removes the specified key/value pair from the collection.

Namespace:  System.Collections.Concurrent
Assemblies:   mscorlib (in mscorlib.dll)
  System.Collections.Concurrent (in System.Collections.Concurrent.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>.



.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft