Breyta

Deila með


TextElementEnumerator.MoveNext Method

Definition

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.

Applies to

See also