Condividi tramite


Membri EmptyEnumerator

Acts as a placeholder when enumeration is called on an empty collection. The runtime returns the empty enumerator when there are no elements in the collection to enumerate over. This class cannot be inherited.

Il tipo EmptyEnumerator espone i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals (Ereditato da Object).
Metodo protetto Finalize (Ereditato da Object).
Metodo pubblico GetHashCode (Ereditato da Object).
Metodo pubblico GetType (Ereditato da Object).
Metodo protetto MemberwiseClone (Ereditato da Object).
Metodo pubblico MoveNext Advances the enumerator to the next element of the collection. Returns false if there is no object to move to.
Metodo pubblico Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Metodo pubblico ToString (Ereditato da Object).

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Current Raises an error indicating an empty enumerator.

In alto