[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CustomXmlPartCollection.Add

Add Method

Add(XmlDocument, string, string[], string)

Adds a new CustomXmlPart into the collection.

Declaration
public CustomXmlPart Add(XmlDocument xmlDocument, string id = null, string[] schemas = null, string contentType = "application/xml")
Public Function Add(xmlDocument As XmlDocument, Optional id As String = Nothing, Optional schemas As String() = Nothing, Optional contentType As String = "application/xml") As CustomXmlPart
Parameters
Type Name Description
XmlDocument xmlDocument

The System.Xml.XmlDocument that contains data for this part.

string id

A globally unique identifier (GUID) that uniquely identifies this part in the document.

string[] schemas

A list of XML schemes that are associated with the part.

string contentType

The content type of the part.

Returns
Type Description
CustomXmlPart

A newly created CustomXmlPart.