[]
Adds a new CustomXmlPart into the collection.
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
| 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. |
| Type | Description |
|---|---|
| CustomXmlPart | A newly created CustomXmlPart. |