SpreadsheetDocument.AddCoreFilePropertiesPart Method

Addd a CoreFilePropertiesPart to the SpreadsheetDocument.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function AddCoreFilePropertiesPart As CoreFilePropertiesPart
'Usage
Dim instance As SpreadsheetDocument
Dim returnValue As CoreFilePropertiesPart

returnValue = instance.AddCoreFilePropertiesPart()
public CoreFilePropertiesPart AddCoreFilePropertiesPart()

Return Value

Type: DocumentFormat.OpenXml.Packaging.CoreFilePropertiesPart
The newly added CoreFilePropertiesPart.

See Also

Reference

SpreadsheetDocument Class

SpreadsheetDocument Members

DocumentFormat.OpenXml.Packaging Namespace