Sets the enumerator to its initial position, which is before the first element in the collection.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public void Reset()
Public Sub Reset
public: virtual void Reset() sealed
abstract Reset : unit -> unit override Reset : unit -> unit
Implements
IEnumerator..::..Reset()()()()
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | The collection was modified after the enumerator was created. |