Visual Basic (Declaration)
C#
The signature of this function is the following:
string FormatUnits(string formattedValue, ValueType valueType);
It can add units to a formatted value and return the resulting string. For example, if the valueType is BAValueType.Percent, this function can append the percent sign to the input formattedValue. If units are missing for the given value type, the function should return the input formattedValue.
If this function is null, units are not added to a value formatted with the FormatValueWithUnits method.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family