ManagementObjectCollection.ManagementObjectEnumerator.Current Property

Definition

Gets the current ManagementBaseObject that this enumerator points to.

public:
 property System::Management::ManagementBaseObject ^ Current { System::Management::ManagementBaseObject ^ get(); };
public System.Management.ManagementBaseObject Current { get; }
member this.Current : System.Management.ManagementBaseObject
Public ReadOnly Property Current As ManagementBaseObject

Property Value

The current object in the enumeration.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to