Share via


MetricThresholdValue::SetValue method

Sets the value of the MetricThresholdValue.

Syntax

virtual HRESULT SetValue(
  [in] LPCWSTR value
) = 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

The MetricThresholdValue objects hold data from the MetricThreshold/MetricThresholdValues/MetricThresholdValue elements.

The value is the value of element MetricThresholdValue/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

MetricThresholdValue