Platform SDK: Performance Monitoring |
The CounterItem interface provides type information, including the methods and properties that define the appearance of individual counters.
SystemMonitorCtl.CounterItem
Value is the default property of CounterItem.
The following are the methods provided by CounterItem.
Method name | Description |
---|---|
GetStatistics | Retrieves the statistical values average, maximum, and minimum for a counter. |
GetValue | Retrieves the current value of a counter. |
The following are the properties provided by CounterItem.
Property name | Description |
---|---|
Color | Retrieves or sets the color of a graphed counter value. |
LineStyle | Retrieves or sets the line style of a graphed counter value. |
Path | Retrieves the path of a counter used by the control. |
ScaleFactor | Retrieves or sets the scale factor used in displaying graphed counter values. |
Value | Retrieves the current value of a counter. |
Width | Retrieves or sets the width of the line used to display graphed counter values. |
Windows NT/2000: Requires Windows 2000.
Header: Smonctrl.odl.
System Monitor Automation Interface Overview, System Monitor Automation Interface Classes