ImmutableDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove 메서드

정의

ICollection<T>에서 맨 처음 발견되는 특정 개체를 제거합니다.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Remove;
bool ICollection<KeyValuePair<TKey,TValue>>.Remove (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
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 (item As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove

매개 변수

item
KeyValuePair<TKey,TValue>

ICollection<T>에서 제거할 개체입니다.

반환

trueitem에서 제거되면 ICollection<T>이고, 그렇지 않으면 false입니다. 이 메서드는 false이 원래 item에 없는 경우에도 ICollection<T>를 반환합니다.

구현

적용 대상