Partilhar via


Classe EmptyEnumerator

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 (em Microsoft.SqlServer.ForEachADOEnumerator.dll)

Sintaxe

'Declaração
Public NotInheritable Class EmptyEnumerator _
    Implements IEnumerator
'Uso
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

Comentários

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

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.