System::Collections::Generic::List::Sort method

List::Sort() method

기본 비교자를 사용하여 리스트의 요소를 정렬합니다.

void System::Collections::Generic::List<T>::Sort()

또 보기

List::Sort(Comparison<T>, bool) method

리스트의 요소를 정렬합니다.

void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
매개변수형식설명
comparisonComparison<T>Comparison를 사용합니다.

또 보기

List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method

리스트의 요소를 정렬합니다.

void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
매개변수형식설명
비교자const SharedPtr<System::Collections::Generic::IComparer<T>>&Comparator to use.

또 보기

List::Sort(int, int, SharedPtr<System::Collections::Generic::IComparer<T>>) method

리스트 슬라이스의 요소를 정렬합니다.

void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
매개변수형식설명
indexint슬라이스 시작 인덱스.
countint슬라이스 크기.
비교자SharedPtr<System::Collections::Generic::IComparer<T>>Comparator to use.

또 보기