ConcurrentDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Remove 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 키를 가진 요소를 .에서 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
매개 변수
- key
- TKey
제거할 요소의 키입니다.
반품
true요소가 성공적으로 제거되면 이고, 그렇지 않으면 . false 또한 이 메서드는 원래 IDictionary<TKey,TValue>메서드에서 찾을 수 없는 경우에도 key 반환 false 합니다.
구현
예외
key은 null입니다.