Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CustomXmlPartCollection Class / Add Method
The System.Xml.XmlDocument that contains data for this part.
A globally unique identifier (GUID) that uniquely identifies this part in the document.
A list of XML schemes that are associated with the part.
The content type of the part.

In This Topic
    Add Method (CustomXmlPartCollection)
    In This Topic
    Adds a new CustomXmlPart into the collection.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal xmlDocument As System.Xml.XmlDocument, _
       Optional ByVal id As System.String, _
       Optional ByVal schemas() As System.String, _
       Optional ByVal contentType As System.String _
    ) As CustomXmlPart
    public CustomXmlPart Add( 
       System.Xml.XmlDocument xmlDocument,
       System.string id,
       System.string[] schemas,
       System.string contentType
    )

    Parameters

    xmlDocument
    The System.Xml.XmlDocument that contains data for this part.
    id
    A globally unique identifier (GUID) that uniquely identifies this part in the document.
    schemas
    A list of XML schemes that are associated with the part.
    contentType
    The content type of the part.

    Return Value

    A newly created CustomXmlPart.
    See Also