Mono Class Library: System.CharEnumerator Overview | MembersSystem.CharEnumerator.Clone Method |
Creates a copy of the current instance. [Edit]
|
A object with the same state as the current instance. [Edit]
The return value is a object containing a copy of the state of the current instance when this method is invoked. This object must be cast explicitly to a CharEnumerator to be made usable as one.
Note:[Edit]This method is useful for saving the state of a CharEnumerator object while iterating through the characters of a string .
This method is implemented to support the ICloneable interface.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0