Sdílet prostřednictvím


EmptyEnumerator Members

Include Protected Members
Include Inherited Members

Acts as a placeholder when enumeration is called on an empty collection. This class cannot be inherited.

The EmptyEnumerator type exposes the following members.

Constructors

  Name Description
Public method EmptyEnumerator() Initializes a new instance of the EmptyEnumerator class.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method MoveNext() Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.
Public method Reset() Sets the enumerator to its initial position, which is before the first element in the collection.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Current Raises an error indicating an empty enumerator.

Top