Partager via


Issue.AddMetricReference Method

Applies To: Windows 8.1

Creates and adds a metric reference to the Issue.

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

Usage

'Usage
Dim instance As Issue
Dim metricReference As String

instance.AddMetricReference(metricReference)

Syntax

'Declaration
Public Sub AddMetricReference ( _
    metricReference As String _
)
public void AddMetricReference (
    string metricReference
)
public:
void AddMetricReference (
    String^ metricReference
)
public void AddMetricReference (
    String metricReference
)
public function AddMetricReference (
    metricReference : String
)

Parameters

  • metricReference
    The metric reference.

Remarks

The metric reference is the value of the Issue/AffectedMetrics/MetricReference element.

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

Issue Class
Issue Members
Microsoft.Assessments.Runtime Namespace