TextElementEnumerator.MoveNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Advances the enumerator to the next text element of the string.
public:
virtual bool MoveNext();
public bool MoveNext ();
abstract member MoveNext : unit -> bool
override this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean
Returns
true
if the enumerator was successfully advanced to the next text element; false
if the enumerator has passed the end of the string.
Implements
Remarks
After an enumerator is created or after a Reset is called, the enumerator is positioned before the first text element of the string, and the first call to MoveNext moves the enumerator over the first text element of the string.
If the string is modified after this enumerator was created, MoveNext throws an exception.
After the end of the string is passed, subsequent calls to MoveNext return false
until Reset is called.