SortedDictionary.KeyCollection コンストラクタ
アセンブリ: System (system.dll 内)

Public Sub New ( _ dictionary As SortedDictionary(Of TKey, TValue) _ )
Dim dictionary As SortedDictionary(Of TKey, TValue) Dim instance As New KeyCollection(dictionary)
public KeyCollection ( SortedDictionary<TKey,TValue> dictionary )
public: KeyCollection ( SortedDictionary<TKey, TValue>^ dictionary )
public KeyCollection ( SortedDictionary<TKey,TValue> dictionary )
public function KeyCollection ( dictionary : SortedDictionary<TKey,TValue> )
- dictionary
新しい SortedDictionary.KeyCollection にキーが反映される SortedDictionary。

例外の種類 | 条件 |
---|---|
ArgumentNullException | dictionary が null 参照 (Visual Basic では Nothing) です。 |

SortedDictionary.KeyCollection は静的なコピーではありません。代わりに、この SortedDictionary.KeyCollection は、元の SortedDictionary のキーを参照します。そのため、SortedDictionary に対する変更は、SortedDictionary.KeyCollection にも反映されます。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


SortedDictionary.KeyCollection ジェネリック クラス
SortedDictionary.KeyCollection メンバ
System.Collections.Generic 名前空間
- SortedDictionary.KeyCollection コンストラクタのページへのリンク