PropertyDescriptorCollection.InternalSort 메서드

정의

이 컬렉션의 멤버를 정렬합니다.

오버로드

InternalSort(IComparer)

지정된 IComparer를 사용하여 이 컬렉션의 멤버를 정렬합니다.

InternalSort(String[])

이 컬렉션의 멤버를 정렬합니다. 지정된 순서가 먼저 적용된 다음 대개 사전순인 이 컬렉션의 기본 정렬 순서가 적용됩니다.

InternalSort(IComparer)

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

지정된 IComparer를 사용하여 이 컬렉션의 멤버를 정렬합니다.

protected:
 void InternalSort(System::Collections::IComparer ^ sorter);
protected void InternalSort (System.Collections.IComparer sorter);
protected void InternalSort (System.Collections.IComparer? sorter);
member this.InternalSort : System.Collections.IComparer -> unit
Protected Sub InternalSort (sorter As IComparer)

매개 변수

sorter
IComparer

이 컬렉션의 PropertyDescriptor 개체를 정렬하는 데 사용할 비교자입니다.

추가 정보

적용 대상

InternalSort(String[])

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

이 컬렉션의 멤버를 정렬합니다. 지정된 순서가 먼저 적용된 다음 대개 사전순인 이 컬렉션의 기본 정렬 순서가 적용됩니다.

protected:
 void InternalSort(cli::array <System::String ^> ^ names);
protected void InternalSort (string[] names);
protected void InternalSort (string[]? names);
member this.InternalSort : string[] -> unit
Protected Sub InternalSort (names As String())

매개 변수

names
String[]

이 컬렉션에 있는 PropertyDescriptor 개체의 정렬 순서를 기술하는 문자열 배열입니다.

예제

다음 코드 예제에서는 정렬 순서를 정의 합니다 InternalSort 메서드. 에 PropertyDescriptorCollection 이름이 , , BCD인 4개의 PropertyDescriptor 개체가 포함된 경우 의 myNewColl 속성은 , , ABC순서D로 정렬A됩니다.

array<String^>^ temp0 = {"D","B"};
this->InternalSort( temp0 );
this.InternalSort(new string[]{"D", "B"});
Me.InternalSort(New String() {"D", "B"})

추가 정보

적용 대상