A Sandcastle Documented Class Library

# MeasureFormatInfo Constructor (String)

Initializes a new instance of the MeasureFormatInfo class.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public MeasureFormatInfo(
    	string format
    )

    Public Sub New (
    	format As String
    )

    public:
    MeasureFormatInfo(
    	String^ format
    )

    new :
            format : string -> MeasureFormatInfo

#### Parameters

format
  Type: System
  String
  The .NET format string.

Exceptions

Exception | Condition
--- | ---
InvalidMeasureFormatException | The specified format is invalid.

Remarks
Some of the supported values are:

N - Numeric, shows the thousands separator

C - Currency, shows negatives in parentheses and position a currency symbol

P - Percentage, multiplies by 100 and displays percentage symbol

E - Exponential notation

To specify precision, add the number of digits after the symbol.

See Also

#### Reference

MeasureFormatInfo Class
MeasureFormatInfo Overload
Dundas.BI.Data.Metadata Namespace