Freigeben über


EmptyEnumerator-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.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

Der EmptyEnumerator-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Current Raises an error that indicates an empty enumerator.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode MoveNext 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.
Öffentliche Methode Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace