Counters collection
Use this class to manage the collection of CounterItem objects.
To retrieve this object, call SystemMonitor.Counters.
The Counters collection has these types of members:
The Counters collection has these methods.
Method | Description |
---|---|
Add | Adds a CounterItem instance to the collection. |
Remove | Removes a CounterItem instance from the collection. |
The Counters collection has these properties.
Property | Description |
---|---|
Count |
Retrieves the number of CounterItem instances in the collection. |
Item |
Retrieves the specified CounterItem instance from the collection. |
The Counters object is the default property of the SystemMonitor object.
Add to this collection those counters that you want to graph. SYSMON retrieves the counter values either from the system or from a log file depending on the data source that you specify.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
DLL |
|