Поделиться через


Свойство Current

Raises an error that indicates an empty enumerator.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public ReadOnly Property Current As Object
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .Object
An object.

Реализует

IEnumerator. . :: . .Current

Замечания

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.