ערוך

שתף באמצעות


TextElementEnumerator.Reset Method

Definition

Sets the enumerator to its initial position, which is before the first text element in the string.

public:
 virtual void Reset();
public void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Sub Reset ()

Implements

Remarks

The Reset method moves the enumerator to the beginning of the string, before the first text element. After calling Reset, you must call MoveNext to advance the enumerator to the first text element of the string before calling Current to read the value of the first text element.

Applies to

See also