Initializes a new instance of the ShortFormattingSymbol class with the
specified symbol substituting a power of 10, specified by exponent.
Namespace: Spotfire.Dxp.Data.Formatters
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 23.18.9504.3877 (23.18.9504.3877)
Syntax
C#
public ShortFormattingSymbol( string symbol, int exponent )
Parameters
- symbol
- Type: SystemString
The substituting symbol string. May not be a digit or any of '{}'. - exponent
- Type: SystemInt32
The substituted power of 10.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if symbol is null. |
ArgumentException | Thrown if symbol is empty or contains an invalid character. |
ArgumentOutOfRangeException | Thrown if exponent is outside the range [-324, 308]. |
Version Information
See Also