EmptyEnumerator Class

 

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.

Namespace:   Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly:  Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO.EmptyEnumerator

public sealed class EmptyEnumerator : IEnumerator

NameDescription
System_CAPS_pubmethodEmptyEnumerator()

Initializes a new instance of the EmptyEnumerator class.

NameDescription
System_CAPS_pubpropertyCurrent

Raises an error indicating an empty enumerator.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMoveNext()

Advances the enumerator to the next element of the collection. Returns false if there is no object to move to.

System_CAPS_pubmethodReset()

Sets the enumerator to its initial position, which is before the first element in the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: