SpreadsheetDocument.AddCustomFilePropertiesPart Method
Addd a CustomFilePropertiesPart to the SpreadsheetDocument.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddCustomFilePropertiesPart As CustomFilePropertiesPart
'Usage
Dim instance As SpreadsheetDocument
Dim returnValue As CustomFilePropertiesPart
returnValue = instance.AddCustomFilePropertiesPart()
public CustomFilePropertiesPart AddCustomFilePropertiesPart()
Return Value
Type: DocumentFormat.OpenXml.Packaging.CustomFilePropertiesPart
The newly added CustomFilePropertiesPart.