Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Reset()
Public Sub Reset
public: virtual void Reset() sealed
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The collection was modified after the enumerator was created. |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)