System.CharEnumerator.Reset Method

Initializes the index to a position logically before the first character of the enumerated string.

Syntax

public void Reset ()

Remarks

The CharEnumerator class maintains an internal index to the enumerated string, and the CharEnumerator.Reset method sets the index to the invalid state.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0