SortedList 内のキーを取得します。
Public Overridable ReadOnly Property Keys As ICollection _ Implements IDictionary.Keys
[C#]
public virtual ICollection Keys {get;}
[C++]
public: __property virtual ICollection* get_Keys();
[JScript]
public function get Keys() : ICollection;
プロパティ値
SortedList 内のキーを格納している ICollection 。
実装
解説
ICollection は、 SortedList のキーの読み取り専用ビューです。基になる SortedList が変更されると、その変更はすぐに ICollection に反映されます。
ICollection の要素は、 SortedList のキーと同じ順序で並べ替えられます。
GetKeyList に類似していますが、 IList ではなく ICollection を返します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
SortedList クラス | SortedList メンバ | System.Collections 名前空間 | ICollection | Values | GetKeyList | カルチャを認識しないコレクションの操作の実行