[]
        
(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")
Parameters
Type Name Description
XmlDocument xmlDocument

The 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.