CounterItem object
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.
Members
The CounterItem object has these types of members:
Methods
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. |
Properties
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. |
Remarks
Value is the default property of CounterItem.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
DLL |
|