Sdílet prostřednictvím


EmptyEnumerator Class

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Assembly:  Microsoft.SqlServer.ForEachADOEnumerator (in Microsoft.SqlServer.ForEachADOEnumerator.dll)

Syntax

'Declaration
Public NotInheritable Class EmptyEnumerator _
    Implements IEnumerator
'Usage
Dim instance As EmptyEnumerator
public sealed class EmptyEnumerator : IEnumerator
public ref class EmptyEnumerator sealed : IEnumerator
[<SealedAttribute>]
type EmptyEnumerator =  
    class
        interface IEnumerator
    end
public final class EmptyEnumerator implements IEnumerator

Remarks

The empty enumerator is returned by the runtime when there are no elements in the collection to enumerate over.

Inheritance Hierarchy

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

Thread Safety

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