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

Definition

IDictionary<TKey,TValue>에서 키가 지정된 요소를 제거합니다.Removes the element with the specified key from the IDictionary<TKey,TValue>.

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

Parameters

key
TKey

제거할 요소의 키입니다.The key of the element to remove.

Returns

Boolean

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

Implements

Exceptions

keynull입니다.key is null.

Applies to

See also