Assembly: mscorlib (in mscorlib.dll)
After an enumerator is created or after the Reset method is called, the MoveNext method must be called to advance the enumerator to the first element of the collection before reading the value of the Value property; otherwise, Value is undefined.
Value also throws an exception if the last call to MoveNext returned false, which indicates the end of the collection.
Value does not move the position of the enumerator, and consecutive calls to Value return the same object until either MoveNext or Reset is called.
Windows 98, Windows Server 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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.