PresentationDocument.AddCustomFilePropertiesPart Method

Adds a CustomFilePropertiesPart to the PresentationDocument.

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

Syntax

声明
Public Function AddCustomFilePropertiesPart As CustomFilePropertiesPart
用法
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