Share via


WordprocessingDocument.AddCoreFilePropertiesPart Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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
Returns the newly added CoreFilePropertiesPart.

See Also

Reference

WordprocessingDocument Class

WordprocessingDocument Members

DocumentFormat.OpenXml.Packaging Namespace