次の方法で共有


MetricThresholdValue::SetValueType method

Sets the value type of the MetricThresholdValue.

Syntax

virtual HRESULT SetValueType(
  [in] MetricThresholdValueValueType valueType
) = 0;

Parameters

valueType [in]

The value type.

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 type is the value of element MetricThresholdValue/ValueType. See MetricThresholdValueValueType for the value types.

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