EmptyEnumerator.Current Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Implements
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.