MetricValue::SetValue method

Sets a value of type LPCWSTR to the MetricValue.

Syntax

virtual HRESULT SetValue(
  [in] LPCWSTR value
) const = 0;

Parameters

value [in]

The value.

Return value

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

Remarks

A MetricValue object holds data from an Issue/MetricValues/MetricValue, Iteration/MetricValues/MetricValue, or TestCase/MetricValues/MetricValue element.

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

MetricValue