WorkbookMetadata

WorkbookMetadata class

Represents the meta data.

Constructors

NameDescription
WorkbookMetadataCreate the meta data object.

Properties

NameTypeDescription
OptionsMetadataOptionsGets the options of the metadata.
BuiltInDocumentPropertiesBuiltInDocumentPropertyCollectionReturns a DocumentProperty collection that represents all the built-in document properties of the spreadsheet.
CustomDocumentPropertiesCustomDocumentPropertyCollectionReturns a DocumentProperty collection that represents all the custom document properties of the spreadsheet.

Methods

NameDescription
saveSave the modified metadata to the file.

WorkbookMetadata(fileName, options)

Create the meta data object.

ParameterTypeDescription
fileNameString
optionsMetadataOptions

WorkbookMetadata.Options property

Gets the options of the metadata.

Type: MetadataOptions

WorkbookMetadata.BuiltInDocumentProperties property

Returns a DocumentProperty collection that represents all the built-in document properties of the spreadsheet.

Type: BuiltInDocumentPropertyCollection

WorkbookMetadata.CustomDocumentProperties property

Returns a DocumentProperty collection that represents all the custom document properties of the spreadsheet.

Type: CustomDocumentPropertyCollection

save(fileName)

Save the modified metadata to the file.

ParameterTypeDescription
fileNameStringThe file name.