Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and adds a MetricValue to the TestCase.
Overload list
| Method | Description | 
|---|---|
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is a LPCWSTR. | 
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is an INT. | 
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is a UINT. | 
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is a LONGLONG. | 
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is a ULONGLONG. | 
| AddMetricValue(programmaticName,value,metricValue) | Creates and adds a MetricValue whose value is a DOUBLE. | 
Remarks
The TestCase objects hold information from the Iteration/TestCases/TestCase elements.
The MetricValue objects hold information from the TestCase/MetricValues/MetricValue elements. The value that this method sets is the value of the TestCase/MetricValues/MetricValue/Value element.
Requirements
| Minimum supported client | Windows 7 [desktop apps only] | 
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] | 
| Header | 
 | 
| DLL | 
 |