EmptyEnumerator Class

 

Provides an empty enumerator that is returned by the Integration Services runtime when there are no elements in the collection to enumerate over.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

System.Object
  Microsoft.SqlServer.Dts.Runtime.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 that indicates 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. The EmptyEnumerator returns false for this method, because there is no object to move to in the empty collection.

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.)

An EmptyEnumerator returns false on the first call to MoveNext, which tells you that the enumerator is at the end of its collection.

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: