EventDescriptorCollection のメンバを並べ替えます。指定した順序が最初に適用され、次にコレクションの既定の並べ替え順序が適用されます。既定の並べ替え順序は、通常はアルファベット順です。
Overloads Protected Sub InternalSort( _
ByVal names() As String _)
[C#]
protected void InternalSort(string[] names);
[C++]
protected: void InternalSort(String* names __gc[]);
[JScript]
protected function InternalSort(
names : String[]);
パラメータ
- names
コレクション内の EventDescriptor オブジェクトを並べ替える順序を記述する文字列の配列。
使用例
[Visual Basic, C#, C++] EventDescriptorCollection に、 A
、 B
、 C
、 D
という名前の 4 つの EventDescriptor オブジェクトが含まれている場合、この EventDescriptorCollection のプロパティは D
、 B
、 A
、 C
という順序に並べ替えられます。
Me.InternalSort(New String() {"D", "B"})
[C#]
this.InternalSort(new string[]{"D", "B"});
[C++]
String* temp0 [] = {S"D", S"B"};
this->InternalSort(temp0);
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
EventDescriptorCollection クラス | EventDescriptorCollection メンバ | System.ComponentModel 名前空間 | EventDescriptorCollection.InternalSort オーバーロードの一覧 | IComparer