NotesMasterPart.AddCustomXmlPart Method (String)

Adds a CustomXmlPart to the NotesMasterPart.

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


Public Function AddCustomXmlPart ( _
    contentType As String _
) As CustomXmlPart
Dim instance As NotesMasterPart
Dim contentType As String
Dim returnValue As CustomXmlPart

returnValue = instance.AddCustomXmlPart(contentType)
public CustomXmlPart AddCustomXmlPart(
    string contentType


  • contentType
    Type: System.String
    the content type of the CustomXmlPart.

Return Value

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

See Also


NotesMasterPart Class

NotesMasterPart Members

AddCustomXmlPart Overload

DocumentFormat.OpenXml.Packaging Namespace