Indicates whether the enumerator has moved to the next object in the enumeration.
[Visual Basic] Public Overridable Function MoveNext() As Boolean Implements _ IEnumerator.MoveNext [C#] public virtual bool MoveNext(); [C++] public: virtual bool MoveNext(); [JScript] public function MoveNext() : Boolean;
true, if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code