MetricThresholdValueCollection::GetItem method
Returns a MetricThresholdValue from the MetricThresholdValueCollection.
Syntax
virtual HRESULT GetItem(
[in] INT index,
[out] MetricThresholdValue **metricThresholdValue
) = 0;
Parameters
-
index [in]
-
The MetricThresholdValue identifier.
-
metricThresholdValue [out]
-
The MetricThresholdValue.
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.
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 |
|
DLL |
|