次の方法で共有


MetricValueCollection::GetItem method

Returns a MetricValue from the MetricValueCollection.

Syntax

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

Parameters

index [in]

The MetricValue identifier.

metricValue [out]

The MetricValue.

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 MetricValueCollection holds data from an Issue/MetricValues, Iteration/MetricValues, or TestCase/MetricValues element.

A MetricValue object holds data from a MetricValues/MetricValue 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

MetricValueCollection