Partager via


Format Element (RDL)

Contains the Microsoft .NET Framework formatting string for the item.

Syntaxe

<Style>
      ...
        <Format>...</Format>
      ...
</Style>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

No formatting

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

Style

Child element

None

Notes

The Format element must contain an expression that evaluates to a .NET Framework formatting string. For information about .NET Framework formatting strings, see "Formatting Types" in the .NET Framework SDK documentation.

Locale-dependent currency formatting (format code C) and locale-dependent date formatting are based on the language setting for the report item.

Format applies only to text box, subtotal, title, data label, and legend report items.

Voir aussi

Référence

Report Definition XML Elements

Aide et Informations

Assistance sur SQL Server 2005