Edytuj

Udostępnij za pośrednictwem


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; }
member this.System.Collections.IEnumerator.Current : obj
 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.

Remarks

This member is an explicit interface member implementation. It can be used only when the ManagementObjectCollection.ManagementObjectEnumerator instance is cast to an IEnumerator interface.

Applies to