PresentationDocument.AddCustomFilePropertiesPart 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 CustomFilePropertiesPart to the Presentationdocument.

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

Syntax

'Declaration
Public Function AddCustomFilePropertiesPart As CustomFilePropertiesPart
'Usage
Dim instance As PresentationDocument
Dim returnValue As CustomFilePropertiesPart

returnValue = instance.AddCustomFilePropertiesPart()
public CustomFilePropertiesPart AddCustomFilePropertiesPart()

Return Value

Type: DocumentFormat.OpenXml.Packaging.CustomFilePropertiesPart
Returns the newly added CustomFilePropertiesPart.

See Also

Reference

PresentationDocument Class

PresentationDocument Members

DocumentFormat.OpenXml.Packaging Namespace