EmptyEnumerator.Current EmptyEnumerator.Current EmptyEnumerator.Current EmptyEnumerator.Current Property

Definition

Raises an error that indicates an empty enumerator.

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

Property Value

An object.

Remarks

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.

Applies to