Condividi tramite


Classe EmptyEnumerator

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

Spazio dei nomi:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class EmptyEnumerator _
    Implements IEnumerator
'Utilizzo
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

Osservazioni

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

Gerarchia di ereditarietà

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

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.