Excel.Interfaces.CustomPropertyData interface

描述通过调用 "customProperty ()" 返回的数据的接口。An interface describing the data returned by calling "customProperty.toJSON()".

属性

key

获取 customProperty 的键。Gets the key of the custom property. 只读。Read only.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

type

获取自定义属性的值类型。Gets the value type of the custom property. 只读。Read only.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

value

获取或设置 customProperty 的值。Gets or sets the value of the custom property.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

属性详细信息

key

获取 customProperty 的键。Gets the key of the custom property. 只读。Read only.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

key?: string;

属性值

string

type

获取自定义属性的值类型。Gets the value type of the custom property. 只读。Read only.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

type?: Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float";

属性值

Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float"

value

获取或设置 customProperty 的值。Gets or sets the value of the custom property.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

value?: any;

属性值

any