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 | |
---|---|---|
EmptyEnumerator | Initializes a new instance of the EmptyEnumerator class. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Current | Raises an error that indicates an empty enumerator. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
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. | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
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.