ReadOnlyCollection<T>.ICollection<T>.Clear 메서드

정의

ICollection<T>에서 항목을 모두 제거합니다. 이 구현은 항상 NotSupportedException을 발생시킵니다.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear ();
abstract member System.Collections.Generic.ICollection<T>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<T>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of T).Clear

구현

예외

항상 throw됩니다.

설명

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

적용 대상