EmptyEnumerator.Current 屬性

定義

引發錯誤,指出空白的列舉值。

public:
 property System::Object ^ Current { System::Object ^ get(); };
public object Current { get; }
member this.Current : obj
Public ReadOnly Property Current As Object

屬性值

Object

物件。

實作

備註

這個方法會從集合中取得目前的物件。 若為 EmptyEnumerator ,將不會從集合中取出目前的物件。 如果使用這個方法,就會引發錯誤。

適用於