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.