ReadOnlyDictionary<TKey,TValue>.IDictionary.Remove(Object) 메서드

정의

모든 경우에 NotSupportedException 예외를 throw합니다.

 virtual void System.Collections.IDictionary.Remove(System::Object ^ key) = System::Collections::IDictionary::Remove;
void IDictionary.Remove (object key);
abstract member System.Collections.IDictionary.Remove : obj -> unit
override this.System.Collections.IDictionary.Remove : obj -> unit
Sub Remove (key As Object) Implements IDictionary.Remove

매개 변수

key
Object

제거할 요소의 키입니다.

구현

예외

모든 경우

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, ReadOnlyDictionary<TKey,TValue> 인스턴스가 IDictionary 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다. 인터페이스는 IDictionary 인터페이스를 구현하는 컬렉션이 Remove 읽기 전용인 경우 메서드가 예외를 throw NotSupportedException 해야 한다고 지정합니다.

적용 대상