SlidePart.AddCustomXmlPart Method (String, String)
Adds a CustomXmlPart to the SlidePart.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddCustomXmlPart ( _
contentType As String, _
id As String _
) As CustomXmlPart
'Usage
Dim instance As SlidePart
Dim contentType As String
Dim id As String
Dim returnValue As CustomXmlPart
returnValue = instance.AddCustomXmlPart(contentType, _
id)
public CustomXmlPart AddCustomXmlPart(
string contentType,
string id
)
Parameters
- contentType
Type: System.String
the content type of the CustomXmlPart.
- id
Type: System.String
The relationship id.
Return Value
Type: DocumentFormat.OpenXml.Packaging.CustomXmlPart
The newly added part.