ManagementObjectCollection.ManagementObjectEnumerator.IEnumerator.Current Property

Definition

Gets the current object in the collection.

property System::Object ^ System::Collections::IEnumerator::Current { System::Object ^ get(); };
object System.Collections.IEnumerator.Current { get; }
System.Collections.IEnumerator.Current
 ReadOnly Property Current As Object Implements IEnumerator.Current

Property Value

The current element in the collection.

Implements

Exceptions

The collection was modified after the enumerator was created.

Applies to