Advances the enumerator to the next MessageQueue of the enumeration and returns a boolean indicating whether a MessageQueue is available. Upon creation, an enumerator is conceptually positioned before the first MessageQueue of the enumeration, and the first call to MoveNext brings the first MessageQueue of the enumeration into view.
[Visual Basic] Overridable Public Function MoveNext() As Boolean [C#] public virtual bool MoveNext(); [C++] public: virtual bool MoveNext(); [JScript] public function MoveNext() : Boolean;
true if the enumerator was succesfully advanced to the next MessageQueue, false if the enumeration has been completed.
MessageQueuesEnumerator Class | MessageQueuesEnumerator Members | System.Messaging Namespace