Share via


MetricValue::SetProgrammaticName method

Sets the programmatic name of the MetricValue.

Syntax

virtual HRESULT SetProgrammaticName(
  [in] LPCWSTR programmaticName
) = 0;

Parameters

programmaticName [in]

The programmatic name.

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 programmatic name is the value of element MetricValue/ProgrammaticName.

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