ReadOnlyCollection<T>.IList.Add(Object) 메서드

정의

IList에 항목을 추가합니다. 이 구현은 항상 NotSupportedException을 발생시킵니다.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

매개 변수

value
Object

Object에 추가할 IList입니다.

반환

새 요소가 삽입된 위치입니다.

구현

예외

항상 throw됩니다.

설명

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

적용 대상