SynchronizedReadOnlyCollection<T>.ICollection<T>.Add(T) 메서드

정의

이 메서드를 호출하면 NotSupportedException이 throw됩니다.

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

매개 변수

value
T

컬렉션에 추가할 요소입니다.

구현

예외

읽기 전용 컬렉션에서 항목을 설정할 수 없는 경우

설명

읽기 전용 컬렉션에는 항목을 추가할 수 없습니다.

적용 대상