Partager via


PresentationDocument.AddCustomFilePropertiesPart Method

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
The newly added CustomFilePropertiesPart.

See Also

Reference

PresentationDocument Class

PresentationDocument Members

DocumentFormat.OpenXml.Packaging Namespace