ImmutableSortedDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Remove 메서드

정의

지정된 키를 가진 요소를 제네릭 사전에서 제거합니다.

 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입니다. 이 메서드는 key가 원래의 제네릭 사전에 없는 경우에도 false를 반환합니다.

구현

예외

key이(가) null인 경우

IDictionary<TKey,TValue>이 읽기 전용인 경우

적용 대상