Share via


SlideMasterPart.AddCustomXmlPart Method (CustomXmlPartType)

Adds a CustomXmlPart to the SlideMasterPart.

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

Syntax

'Declaration
Public Function AddCustomXmlPart ( _
    partType As CustomXmlPartType _
) As CustomXmlPart
'Usage
Dim instance As SlideMasterPart
Dim partType As CustomXmlPartType
Dim returnValue As CustomXmlPart

returnValue = instance.AddCustomXmlPart(partType)
public CustomXmlPart AddCustomXmlPart(
    CustomXmlPartType partType
)

Parameters

Return Value

Type: DocumentFormat.OpenXml.Packaging.CustomXmlPart
The newly added part.

See Also

Reference

SlideMasterPart Class

SlideMasterPart Members

AddCustomXmlPart Overload

DocumentFormat.OpenXml.Packaging Namespace