A Sandcastle Documented Class Library

# MeasureUsageFormatInfo Format Property

Gets or sets a .NET format string defining how to display the number.

Namespace: Dundas.BI.Entities.MetricSets
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 string Format { get; set; }

    Public Property Format As String
    	Get
    	Set

    public:
    property String^ Format {
    	String^ get ();
    	void set (String^ value);
    }

    member Format : string with get, set

#### Property Value

Type: String
Exceptions

Exception | Condition
--- | ---
InvalidMeasureFormatException | The specified value 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

MeasureUsageFormatInfo Class
Dundas.BI.Entities.MetricSets Namespace