Excel.Interfaces.CultureInfoLoadOptions interface

基于当前系统区域性设置提供信息。 这包括区域性名称、数字格式和其他依赖于区域性的设置。

属性

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

datetimeFormat

定义区域上适当的日期和时间显示格式。 这基于当前的系统区域性设置。

name

获取格式为 languagecode2-country/regioncode2 的区域性名称 (例如“zh-CN”或“en-us”) 。 这基于当前系统设置。

numberFormat

定义数字显示的适当文化格式。 这基于当前的系统区域性设置。

属性详细信息

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

datetimeFormat

定义区域上适当的日期和时间显示格式。 这基于当前的系统区域性设置。

datetimeFormat?: Excel.Interfaces.DatetimeFormatInfoLoadOptions;

属性值

注解

API 集:ExcelApi 1.12

name

获取格式为 languagecode2-country/regioncode2 的区域性名称 (例如“zh-CN”或“en-us”) 。 这基于当前系统设置。

name?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.11

numberFormat

定义数字显示的适当文化格式。 这基于当前的系统区域性设置。

numberFormat?: Excel.Interfaces.NumberFormatInfoLoadOptions;

属性值

注解

API 集:ExcelApi 1.11