Share via


Issue::AddMetricValue method

Creates and adds a MetricValue whose value is a UINT.

Syntax

virtual HRESULT AddMetricValue(
  [in]            LPCWSTR     programmaticName,
  [in]            UINT        value,
  [out, optional] MetricValue **metricValue
) = 0;

Parameters

programmaticName [in]

The programmatic name.

value [in]

The value.

metricValue [out, optional]

The MetricValue that this method creates.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

The programmatic name is the value of element MetricValue/ProgrammaticName.

The value is the value of element MetricValue/Value.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

Issue