PostSharpAPI ReferencePost­Sharp.​Patterns.​UtilitiesUnknown­Object­Accessor.​EnumeratorReset
Open sandboxFocus

UnknownObjectAccessor.Enumerator.Reset Method

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Declaration
public void Reset()
Exceptions
Type Condition
InvalidOperationException

The collection was modified after the enumerator was created.