Esri Business Analyst Server API for Silverlight 2.2 Reference
FormatUnits Property
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore Namespace > ValueFormatter Class : FormatUnits Property

Glossary Item Box

A function providing units for a formatted value.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Remarks

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.

Requirements

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

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.