Dictionary.Enumerator.System.Collections.IDictionaryEnumerator.Key プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)

Private ReadOnly Property System.Collections.IDictionaryEnumerator.Key As Object Implements IDictionaryEnumerator.Key
private: virtual property Object^ System.Collections.IDictionaryEnumerator.Key { Object^ get () sealed = IDictionaryEnumerator::Key::get; }
ディクショナリ内の列挙子の現在位置にある要素のキー。


列挙子を作成した後や Reset を呼び出した後に、コレクションの最初の要素に列挙子を進めるためには、Key の値を読み取る前に MoveNext を呼び出す必要があります。それ以外の場合は、Key は未定義です。
MoveNext への最後の呼び出しで、コレクションの末尾を示す false が返された場合、Key は例外もスローします。
Key は、MoveNext が呼び出されるまでは同じオブジェクトを返します。MoveNext は、Key を次の要素に設定します。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDictionary.Enumerator.System.Collections.IDictionaryEnumerator.Key プロパティを検索する場合は、下記のリンクをクリックしてください。

- Dictionary.Enumerator.System.Collections.IDictionaryEnumerator.Key プロパティのページへのリンク