SlideLayoutPart.AddCustomXmlPart Method (CustomXmlPartType)
Adds a CustomXmlPart to the SlideLayoutPart.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Function AddCustomXmlPart ( _
partType As CustomXmlPartType _
) As CustomXmlPart
'使用
Dim instance As SlideLayoutPart
Dim partType As CustomXmlPartType
Dim returnValue As CustomXmlPart
returnValue = instance.AddCustomXmlPart(partType)
public CustomXmlPart AddCustomXmlPart(
CustomXmlPartType partType
)
Parameters
- partType
Type: DocumentFormat.OpenXml.Packaging.CustomXmlPartType
The part type of the CustomXmlPart.
Return Value
Type: DocumentFormat.OpenXml.Packaging.CustomXmlPart
The newly added part.