EventDescriptorCollection.InternalSort 메서드

정의

EventDescriptorCollection의 멤버를 정렬합니다.

오버로드

InternalSort(IComparer)

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

InternalSort(String[])

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

InternalSort(IComparer)

지정된 EventDescriptorCollection를 사용하여 이 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

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

설명

매개 변수인 sorter null경우 기본 정렬 순서가 사용됩니다.

참고

합니다 HostProtectionAttribute 이 클래스에 적용 된 특성에는 다음과 같은 Resources 속성 값: Synchronization합니다. HostProtectionAttribute는 대개 아이콘을 두 번 클릭하거나, 명령을 입력하거나, 브라우저에서 URL을 입력하여 시작되는 데스크톱 애플리케이션에 영향을 미치지 않습니다. 자세한 내용은 참조는 HostProtectionAttribute 클래스 또는 SQL Server 프로그래밍 및 호스트 보호 특성합니다.

추가 정보

적용 대상

InternalSort(String[])

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

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[]

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

예제

다음 코드 예제에서는 메서드의 정렬 순서를 정의합니다 InternalSort . EventDescriptorCollection 이름, D``B``C및 이름이 A있는 4개의 EventDescriptor 개체가 포함된 경우 이 EventDescriptorCollection 속성은 순서D, B``AC순으로 정렬됩니다.

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

설명

참고

합니다 HostProtectionAttribute 이 클래스에 적용 된 특성에는 다음과 같은 Resources 속성 값: Synchronization합니다. HostProtectionAttribute는 대개 아이콘을 두 번 클릭하거나, 명령을 입력하거나, 브라우저에서 URL을 입력하여 시작되는 데스크톱 애플리케이션에 영향을 미치지 않습니다. 자세한 내용은 참조는 HostProtectionAttribute 클래스 또는 SQL Server 프로그래밍 및 호스트 보호 특성합니다.

추가 정보

적용 대상