Compartir a través de


EmptyEnumerator Miembros

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

El tipo EmptyEnumerator expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

Principio

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico MoveNext Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.
Método publico Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Current Raises an error indicating an empty enumerator.

Principio