Share via


MetricThresholdValue::SetInclusion method

Sets the inclusion setting of the MetricThresholdValue.

Syntax

virtual HRESULT SetInclusion(
  [in] MetricThresholdValueInclusion inclusion
) = 0;

Parameters

inclusion [in]

The inclusion setting.

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 inclusion setting is the value of element MetricThresholdValue/Inclusion. See MetricThresholdValueInclusion for the inclusion settings.

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