Share via


Issue::AddMetricReference method

Creates and adds a metric reference to the Issue.

Syntax

virtual HRESULT AddMetricReference(
  [in] LPCWSTR metricReference
) = 0;

Parameters

metricReference [in]

The metric reference.

Return value

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

Remarks

The Issue objects hold data from Iteration/Issues/Issue elements.

The metric reference is the value of the Issue/AffectedMetrics/MetricReference element.

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