Excel.Interfaces.CultureInfoLoadOptions interface

Provides information based on current system culture settings. This includes the culture names, number formatting, and other culturally dependent settings.

Remarks

[ API set: ExcelApi 1.11 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

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

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

datetimeFormat

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

datetimeFormat?: Excel.Interfaces.DatetimeFormatInfoLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.12 ]

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.

name?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.11 ]

numberFormat

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

numberFormat?: Excel.Interfaces.NumberFormatInfoLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.11 ]