EmptyEnumerator Class
Acts as a placeholder when enumeration is called on an empty collection. This class cannot be inherited.
Assembly: Microsoft.SqlServer.ForEachADOEnumerator (in Microsoft.SqlServer.ForEachADOEnumerator.dll)
| Name | Description | |
|---|---|---|
![]() | EmptyEnumerator() | Initializes a new instance of the EmptyEnumerator class. |
| Name | Description | |
|---|---|---|
![]() | Current | Raises an error indicating an empty enumerator. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from 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() | (Inherited from Object.) |
The empty enumerator is returned by the runtime when there are no elements in the collection to enumerate over.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

