StateManagedCollection.IList.Insert(Int32, Object) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 인덱스의 컬렉션에 StateManagedCollection 항목을 삽입합니다.
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 인덱스(0부터 시작)입니다.
- value
- Object
에 삽입할 개체입니다 StateManagedCollection.
구현
예외
지정된 index 컬렉션의 범위를 벗어났습니다.
읽기 StateManagedCollection 전용입니다.
지정된 value 값은 .입니다 null.
설명
-1 index 이면 value 컬렉션의 StateManagedCollection 시작 부분에 추가됩니다. 컬렉션의 항목 수와 같으면 index 컬렉션 value 의 끝에 추가됩니다.