IEnumerator.Current Property
Collapse the table of content
Expand the table of content

PropertyDataCollection.PropertyDataEnumerator.IEnumerator.Current Property

 

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
InvalidOperationException

The collection was modified after the enumerator was created.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft