Platform SDK: Performance Monitoring

CounterItem.Value

Retrieves the current value of the object's counter. This is a read-only property and is the default of the CounterItem object.

Public Property Value( ) as Double

Return Values

The current value of the counter. A status value is not returned unless an error condition is indicated. In that case, the property returns a value of -1.

Example

dValue = ctrItem.Value

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Smonctrl.odl.

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties