Partager via


Propriété Current

Raises an error that indicates an empty enumerator.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Current As Object
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Object
An object.

Implémente

IEnumerator. . :: . .Current

Notes

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.