TypeConverter.SortProperties(PropertyDescriptorCollection, String[]) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロパティのコレクションを並べ替えます。
protected:
System::ComponentModel::PropertyDescriptorCollection ^ SortProperties(System::ComponentModel::PropertyDescriptorCollection ^ props, cli::array <System::String ^> ^ names);
protected System.ComponentModel.PropertyDescriptorCollection SortProperties (System.ComponentModel.PropertyDescriptorCollection props, string[] names);
member this.SortProperties : System.ComponentModel.PropertyDescriptorCollection * string[] -> System.ComponentModel.PropertyDescriptorCollection
Protected Function SortProperties (props As PropertyDescriptorCollection, names As String()) As PropertyDescriptorCollection
パラメーター
並べ替える対象のプロパティを格納している PropertyDescriptorCollection。
- names
- String[]
コレクション内でプロパティを並べ替える順序で並べた名前の配列。
戻り値
並べ替えられたプロパティを格納した PropertyDescriptorCollection。
注釈
名前の配列にまだ含まれていないコレクション内のすべてのプロパティは、末尾にアルファベット順に追加されます。 パラメーターが空の names
配列または null
の場合、コレクション内のすべてのプロパティはアルファベット順に並べ替えられます。
適用対象
こちらもご覧ください
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET