System.Collections.Stack.StackEnumerator.Reset C# (CSharp) Méthode

Reset() public méthode

public Reset ( ) : void
Résultat void
            public virtual void Reset()
            {
                if (_version != _stack._version) throw new InvalidOperationException(SR.InvalidOperation_EnumFailedVersion);
                _index = -2;
                _currentElement = null;
            }
        }