Platform SDK: Performance Monitoring

SystemMonitor.Counters

Returns the Counters collection of the control. This is a read-only property.

Public Property Counters( ) as Counters

Remarks

This is the default property of the SystemMonitor object.

You can use this property to perform operations on the returned counter collection.

Return Values

A Counters object.

Example

Dim ctrs as Counters
Set ctrs=Graph1.Counters
ctrs.item(1).Color=vbRed

Requirements

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

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties