Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServerFormat class

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

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
public class ServerFormat : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.