Array.IList.Insert(Int32, Object) 메서드

정의

항목을 IList의 지정된 인덱스에 삽입합니다.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

매개 변수

index
Int32

value를 삽입할 인덱스입니다.

value
Object

삽입할 개체입니다.

구현

예외

indexIList의 유효한 인덱스가 아닌 경우

IList이 읽기 전용인 경우

또는

IList가 고정 크기입니다.

valueIList의 null 참조입니다.

설명

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

적용 대상