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.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime..::..EmptyEnumerator
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.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
O tipo EmptyEnumerator expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
EmptyEnumerator | Initializes a new instance of the EmptyEnumerator class. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de 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 | (Herdado de Object.) |
Início
Comentários
An EmptyEnumerator returns false on the first call to MoveNext, which tells you that the enumerator is at the end of its collection.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.