Excel.Interfaces.CustomPropertyData interface
An interface describing the data returned by calling customProperty.toJSON()
.
Properties
key | The key of the custom property. The key is limited to 255 characters outside of Excel on the web (larger keys are automatically trimmed to 255 characters on other platforms). |
type | The type of the value used for the custom property. |
value | The value of the custom property. The value is limited to 255 characters outside of Excel on the web (larger values are automatically trimmed to 255 characters on other platforms). |
Property Details
key
The key of the custom property. The key is limited to 255 characters outside of Excel on the web (larger keys are automatically trimmed to 255 characters on other platforms).
key?: string;
Property Value
string
Remarks
type
The type of the value used for the custom property.
type?: Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float";
Property Value
Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float"
Remarks
value
The value of the custom property. The value is limited to 255 characters outside of Excel on the web (larger values are automatically trimmed to 255 characters on other platforms).
value?: any;
Property Value
any
Remarks
Office Add-ins