MethodDataCollection.MethodDataEnumerator.IEnumerator.Current Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the current object in the collection.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

object IEnumerator.Current { get; }

Property Value

Type: System.Object

Returns the current element in the collection.

Exception Condition

The collection was modified after the enumerator was created.

.NET Framework
Available since 1.1
Return to top