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

Definition

컬렉션에서 지정된 키/값 쌍을 제거합니다.Removes the specified key/value pair from the collection.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> keyValuePair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Remove;
bool ICollection<KeyValuePair<TKey,TValue>>.Remove (System.Collections.Generic.KeyValuePair<TKey,TValue> keyValuePair);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Function Remove (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove

Parameters

keyValuePair
KeyValuePair<TKey,TValue>

제거할 KeyValuePair<TKey,TValue>입니다.The KeyValuePair<TKey,TValue> to remove.

Returns

Boolean

요소가 제거되었으면 true이고, 그렇지 않으면 false입니다.true if the element is successfully removed; otherwise, false. 이 메서드는 key가 원래 ICollection<T>에 없는 경우에도 false를 반환합니다.This method also returns false if key was not found in the original ICollection<T>.

Implements

Applies to

See also