ListSortDescriptionCollection.Item[Int32] 속성

정의

지정한 ListSortDescription를 가져오거나 설정합니다.

public:
 property System::ComponentModel::ListSortDescription ^ default[int] { System::ComponentModel::ListSortDescription ^ get(int index); void set(int index, System::ComponentModel::ListSortDescription ^ value); };
public System.ComponentModel.ListSortDescription this[int index] { get; set; }
public System.ComponentModel.ListSortDescription? this[int index] { get; set; }
member this.Item(int) : System.ComponentModel.ListSortDescription with get, set
Default Public Property Item(index As Integer) As ListSortDescription

매개 변수

index
Int32

컬렉션에서 가져오거나 설정할 ListSortDescription의 인덱스(0부터 시작)입니다.

속성 값

지정된 인덱스의 ListSortDescription입니다.

예외

읽기 전용 ListSortDescriptionCollection에 항목을 설정하는 경우

설명

ListSortDescriptionCollection 한 번 생성된 읽기 전용이며 항목을 설정하려고 하면 을 throw InvalidOperationException 합니다.

적용 대상