ReadOnlyCollection<T>.IList<T>.Insert(Int32, T) 메서드

정의

항목을 IList<T>의 지정된 인덱스에 삽입합니다. 이 구현은 항상 NotSupportedException을 발생시킵니다.

 virtual void System.Collections.Generic.IList<T>.Insert(int index, T value) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert (int index, T value);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, value As T) Implements IList(Of T).Insert

매개 변수

index
Int32

value을 삽입해야 하는 인덱스(0부터 시작)입니다.

value
T

IList<T>에 삽입할 개체입니다.

구현

예외

항상 throw됩니다.

설명

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

적용 대상