Share via


ServerFormat Class

Server Format.When the object is serialized out as xml, its qualified name is x:serverFormat.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.ServerFormat

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ServerFormat _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As ServerFormat
public class ServerFormat : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.10.1.86 serverFormat (Server Format)

Represents the numeric format specified by the OLAP server for a tuple.

Parent Elements

serverFormats (§18.10.1.87)

Attributes

Description

culture (Culture)

Specifies a language used to determine the currency symbol to display for currency values. [Example: if the culture is "en-us", the values in the application will format the values with a dollar sign. If the culture is "fr-fr" the application will format the values with a euro sign. end example]

This value conforms to the language tagging conventions of RFC 3066 and later. The pattern <language>-<REGION> is used, e.g., "en-us" or "fr-fr".

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

format (Format)

Specifies the format string to use for all other numeric values. This string is supplied by the OLAP server. Therefore, the syntax for reading the format string depends on the server implementation.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

[Note: The W3C XML Schema definition of this element’s content model (CT_ServerFormat) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ServerFormat Members

DocumentFormat.OpenXml.Spreadsheet Namespace