DataServiceCollection<T>.InsertItem(Int32, T) 메서드

정의

컬렉션의 지정된 인덱스 위치에 지정된 항목을 추가합니다.

protected:
 override void InsertItem(int index, T item);
protected override void InsertItem (int index, T item);
override this.InsertItem : int * 'T -> unit
Protected Overrides Sub InsertItem (index As Integer, item As T)

매개 변수

index
Int32

항목을 추가할 인덱스입니다.

item
T

추가할 항목입니다.

설명

컬렉션의 변경 내용을 수동으로 추적하는 경우 항목이 컬렉션에 자동으로 추가되지 않도록 메서드를 재정 InsertItem 의해야 합니다.

적용 대상