The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Iteration.AddMetricValue Method

Applies To: Windows 8.1

Creates and adds a MetricValue whose value to the Iteration.

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

Dim instance As Iteration
Dim programmaticName As String
Dim value As String
Dim returnValue As MetricValue

returnValue = instance.AddMetricValue(programmaticName, value)

public MetricValue AddMetricValue (
	string programmaticName,
	string value
public MetricValue AddMetricValue (
	String programmaticName, 
	String value
public function AddMetricValue (
	programmaticName : String, 
	value : String
) : MetricValue



The programmatic name.


The value.

Return Value

Returns MetricValue.

The programmatic name is the value of element MetricValue/ProgrammaticName.

The value is the value of element MetricValue/Value.

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

Development Platforms

Windows 8.1