다음을 통해 공유


TypeConverter.SortProperties 메서드

속성 컬렉션을 정렬합니다.

네임스페이스: System.ComponentModel
어셈블리: System(system.dll)

구문

‘선언
Protected Function SortProperties ( _
    props As PropertyDescriptorCollection, _
    names As String() _
) As PropertyDescriptorCollection
‘사용 방법
Dim props As PropertyDescriptorCollection
Dim names As String()
Dim returnValue As PropertyDescriptorCollection

returnValue = Me.SortProperties(props, names)
protected PropertyDescriptorCollection SortProperties (
    PropertyDescriptorCollection props,
    string[] names
)
protected:
PropertyDescriptorCollection^ SortProperties (
    PropertyDescriptorCollection^ props, 
    array<String^>^ names
)
protected PropertyDescriptorCollection SortProperties (
    PropertyDescriptorCollection props, 
    String[] names
)
protected function SortProperties (
    props : PropertyDescriptorCollection, 
    names : String[]
) : PropertyDescriptorCollection

매개 변수

  • names
    컬렉션에 속성을 표시할 순서대로 나열된 이름 배열입니다.

반환 값

정렬된 속성을 포함하는 PropertyDescriptorCollection입니다.

설명

이름 배열에 이미 있는 컬렉션의 모든 속성은 끝 부분에 사전순으로 추가됩니다. names 매개 변수가 빈 배열이거나 Null 참조(Visual Basic의 경우 Nothing)이면 컬렉션의 모든 속성이 사전순으로 정렬됩니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

TypeConverter 클래스
TypeConverter 멤버
System.ComponentModel 네임스페이스
PropertyDescriptorCollection 클래스
TypeConverter 클래스