EmptyEnumerator Members
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.
The following tables list the members exposed by the EmptyEnumerator type.
Public Constructors
Name | Description | |
---|---|---|
EmptyEnumerator | Initializes a new instance of the EmptyEnumerator class. |
Top
Public Properties
Name | Description | |
---|---|---|
Current | Raises an error indicating an empty enumerator. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
MoveNext | Advances the enumerator to the next element of the collection. Returns false if there is no object to move to. | |
ReferenceEquals | (inherited from Object ) | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
EmptyEnumerator Class
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace