Excel.Interfaces.CultureInfoData interface

Warning

This API is now deprecated.

An interface describing the data returned by calling cultureInfo.toJSON().

Properties

datetimeFormat

Defines the culturally appropriate format of displaying date and time. This is based on current system culture settings.

name

Gets the culture name in the format languagecode2-country/regioncode2 (e.g., "zh-cn" or "en-us"). This is based on current system settings.

numberFormat

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

Property Details

datetimeFormat

Warning

This API is now deprecated.

Defines the culturally appropriate format of displaying date and time. This is based on current system culture settings.

datetimeFormat?: Excel.Interfaces.DatetimeFormatInfoData;

Property Value

Remarks

[ API set: ExcelApi 1.12 ]

name

Warning

This API is now deprecated.

Gets the culture name in the format languagecode2-country/regioncode2 (e.g., "zh-cn" or "en-us"). This is based on current system settings.

name?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.11 ]

numberFormat

Warning

This API is now deprecated.

Defines the culturally appropriate format of displaying numbers. This is based on current system culture settings.

numberFormat?: Excel.Interfaces.NumberFormatInfoData;

Property Value

Remarks

[ API set: ExcelApi 1.11 ]