次の方法で共有


MetricThresholdCollection::GetItem method

Returns a MetricThreshold from the MetricThresholdCollection.

Syntax

virtual HRESULT GetItem(
  [in]  INT             index,
  [out] MetricThreshold **metricThreshold
) = 0;

Parameters

index [in]

The MetricThreshold identifier.

metricThreshold [out]

The MetricThreshold.

Return value

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

Remarks

index ranges from 0 to one less than the count of items in the collection.

A MetricThresholdCollection holds data from a MetricThresholds element.

A MetricThreshold holds data from a MetricThresholds/MetricThreshold element.

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

MetricThresholdCollection