共用方式為


Current 屬性

Raises an error indicating an empty enumerator.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
組件:  Microsoft.SqlServer.ForEachSMOEnumerator (在 Microsoft.SqlServer.ForEachSMOEnumerator.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.