ImmutableList<T>.ICollection<T>.Remove(T) 메서드

정의

변경할 수 없는 목록에서 첫 번째로 나타나는 특정 개체를 제거합니다.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

매개 변수

item
T

제거할 개체입니다.

반환

Boolean

item가 목록에서 제거되었으면 true이고, 그렇지 않으면 false입니다. 이 메서드는 item가 원래 목록에 없는 경우에도 false를 반환합니다.

구현

예외

항상 throw됩니다.

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, ImmutableList<T> 인스턴스가 ICollection<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상