SortDescriptionCollection.SetItem(Int32, SortDescription) 메서드

정의

지정된 인덱스의 요소를 바꿉니다.

protected:
 override void SetItem(int index, System::ComponentModel::SortDescription item);
protected override void SetItem(int index, System.ComponentModel.SortDescription item);
override this.SetItem : int * System.ComponentModel.SortDescription -> unit
Protected Overrides Sub SetItem (index As Integer, item As SortDescription)

매개 변수

index
Int32

바꿀 요소의 인덱스(0부터 시작하는 인덱스)입니다.

item
SortDescription

지정된 인덱스에서 요소의 새 값입니다.

설명

컬렉션에서 항목이 설정되면 기본 클래스에서 이 메서드를 호출합니다. 이 구현은 이벤트를 발생합니다 CollectionChanged .

자세한 내용은 기본 클래스의 SetItem 메서드를 Collection<T> 참조하세요.

적용 대상