Platform SDK: Performance Monitoring |
The Counters collection object defines methods for adding or removing CounterItem objects and their associated properties. Counters is a one-based collection of CounterItem objects.
SystemMonitorCtl.Counters
Item is the default property of the Counters object.
The following are the methods provided by Counters.
Method name | Description |
---|---|
Add | Adds an instance of a CounterItem object to the Counters collection object for display by the SystemMonitor object. |
Remove | Removes an instance of a CounterItem object from the Counters collection object. |
The following are the properties provided by Counters.
Property name | Description |
---|---|
Count | Retrieves the number of CounterItem instances in the Counters object. |
Item | Retrieves the specified instance of a CounterItem object from the Counters collection object. |
Windows NT/2000: Requires Windows 2000.
Header: Smonctrl.odl.
System Monitor Automation Interface Overview, System Monitor Automation Interface Classes