Share via


MetricValueCollection.Item Property

Applies To: Windows 8.1

A MetricValue from the MetricValueCollection.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As MetricValueCollection
Dim index As Integer
Dim value As MetricValue

value = instance(index)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As MetricValue
public MetricValue this [
    int index
] { get; }
public:
property MetricValue^ default [int] {
    MetricValue^ get (int index);
}
/** @property */
public MetricValue get_Item (int index)

Parameters

  • index
    The MetricValue identifier.

Property Value

Returns MetricValue.

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

MetricValueCollection Class
MetricValueCollection Members
Microsoft.Assessments.Runtime Namespace