Classe EmptyEnumerator
Acts as a placeholder when enumeration is called on an empty collection. This class cannot be inherited.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO.EmptyEnumerator
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Assembly: Microsoft.SqlServer.ForEachADOEnumerator (in Microsoft.SqlServer.ForEachADOEnumerator.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
Nel tipo EmptyEnumerator sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
EmptyEnumerator | Initializes a new instance of the EmptyEnumerator class. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Current | Raises an error indicating an empty enumerator. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetType | Ereditato da Object. |
![]() |
MoveNext | Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method. |
![]() |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. |
![]() |
ToString | Ereditato da Object. |
In alto
Osservazioni
The empty enumerator is returned by the runtime when there are no elements in the collection to enumerate over.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO