WordprocessingDocument.AddCoreFilePropertiesPart Method

Adds a CoreFilePropertiesPart to the WordprocessingDocument.

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

Syntax

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

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

Return Value

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

See Also

Reference

WordprocessingDocument Class

WordprocessingDocument Members

DocumentFormat.OpenXml.Packaging Namespace