| title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CounterItem object (Isysmon.h) |
Use this class to retrieve the path and value of a counter and to specify the color used to graph the counter. To retrieve this object, call Counters.Item. |
76b69395-efd8-4321-b7ed-63daa46e2636 |
|
|
|
|
|
reference |
05/31/2018 |
Use this class to retrieve the path and value of a counter and to specify the color used to graph the counter.
To retrieve this object, call Counters.Item.
The CounterItem object has these types of members:
The CounterItem object has these methods.
| Method | Description |
|---|---|
| GetDataAt | Retrieves the counter data from a specific point in the line graph. |
| GetStatistics | Retrieves the average, maximum, and minimum values for the counter. |
| GetValue | Retrieves the last value of the counter. |
The CounterItem object has these properties.
| Property | Description |
|---|---|
| Color |
Retrieves or sets the color used to graph the counter value. |
| LineStyle |
Retrieves or sets the line style used to graph the counter value. |
| Path |
Retrieves the path of the counter. |
| ScaleFactor |
Retrieves or sets the scale factor used to graph the counter value. |
| Selected |
Retrieves or sets a value that indicates if the counter is selected. |
| Value |
Retrieves the current value of the counter. |
| Visible |
Retrieves or sets a value that indicates if the counter is graphed. |
| Width |
Retrieves or sets the line width used to graph the counter value. |
Value is the default property of CounterItem.
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 2000 Professional [desktop apps only] |
| Minimum supported server |
Windows 2000 Server [desktop apps only] |
| Header |
|
| DLL |
|