Proprietà EmptyEnumerator.Current

Raises an error indicating an empty enumerator.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly:  Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Current As Object 
    Get
'Utilizzo
Dim instance As EmptyEnumerator 
Dim value As Object 

value = instance.Current
public Object Current { get; }
public:
virtual property Object^ Current {
    Object^ get () sealed;
}
abstract Current : Object 
override Current : Object
final function get Current () : Object

Valore proprietà

Tipo: System.Object
An object.

Implementa

IEnumerator.Current

Osservazioni

This method gets the current object from the collection. For the EmptyEnumerator, there will be no current object to retrieve from the collection. If this method is used, an error is raised.

Vedere anche

Riferimento

EmptyEnumerator Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO