Excel.Interfaces.SettingLoadOptions interface

Setting 表示保存在文档中的设置的键值对 (每个加载项每个文件)。Setting represents a key-value pair of a setting persisted to the document (per file per add-in). 这些自定义键值对可用于存储内容或任务窗格外接程序所需的状态或生命周期信息。These custom key-value pair can be used to store state or lifecycle information needed by the content or task-pane add-in. 请注意, 设置在文档中保持不变, 因此不是存储任何敏感或受保护的信息 (如用户信息和密码) 的地方。Note that settings are persisted in the document and hence it is not a place to store any sensitive or protected information such as user information and password.

[API 集: ExcelApi 1.4][ API set: ExcelApi 1.4 ]

属性

$all
key

返回表示 setting 对象的 ID 的键。Returns the key that represents the id of the Setting. 只读。Read-only.

[API 集: ExcelApi 1.4][ API set: ExcelApi 1.4 ]

value

表示为此设置存储的值。Represents the value stored for this setting.

[API 集: ExcelApi 1.4][ API set: ExcelApi 1.4 ]

属性详细信息

$all

$all?: boolean;

属性值

boolean

key

返回表示 setting 对象的 ID 的键。Returns the key that represents the id of the Setting. 只读。Read-only.

[API 集: ExcelApi 1.4][ API set: ExcelApi 1.4 ]

key?: boolean;

属性值

boolean

value

表示为此设置存储的值。Represents the value stored for this setting.

[API 集: ExcelApi 1.4][ API set: ExcelApi 1.4 ]

value?: boolean;

属性值

boolean