TextElementEnumerator.Reset 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.
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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.