MetricThresholdValueCollection::Clear method

Deletes all MetricThresholdValue objects from the MetricThresholdValueCollection.

Syntax

virtual HRESULT Clear() = 0;

Parameters

This method has no parameters.

Return value

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

Remarks

The MetricThresholdValueCollection holds data from element MetricThreshold/MetricThresholdValues.

The MetricThresholdValue elements hold data from MetricThresholdValues/MetricThresholdValue elements.

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

MetricThresholdValueCollection