Элементы EmptyEnumerator

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

Тип EmptyEnumerator предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

В начало

Методы

  Имя Описание
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод MoveNext Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.
Открытый метод Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Открытый метод ToString (Наследуется из Object.)

В начало

Свойства

  Имя Описание
Открытое свойство Current Raises an error indicating an empty enumerator.

В начало