CounterItem.GetDataAt method

Retrieves the specified counter value from a specific point in the graph.

Syntax

CounterItem.GetDataAt( _
  ByVal index As Long, _
  ByVal which As SysmonDataType, _
  ByRef variant As Object _
)

Parameters

index [in]

Zero-based index of the graph point whose value you want to retrieve. Valid values range from 0 to (SystemMonitor.DataPointCount - 1).

which [in]

Type of counter value to retrieve, for example, the average value of the counter as displayed in the graph window. For possible values, see SysmonDataType.

variant [out]

Counter value that was retrieved.

Return value

This method does not return a value.

Remarks

Use this method only if

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Sysmon.ocx

See also

CounterItem

CounterItem.GetStatistics

CounterItem.GetValue