EmptyEnumerator.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.

請參閱

參考

EmptyEnumerator 類別

Microsoft.SqlServer.Dts.Runtime 命名空間