Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / XmlMapping Class / SetMapping Method / SetMapping(XmlNode,String,Boolean) Method
The System.Xml.XmlNode which is mapped to the content control.
The CustomXmlPart identifier which shall be used to evaluate the given XPath expression.
Whether the xml mapping supports a content control with ContentControlType.RichText type.

In This Topic
    SetMapping(XmlNode,String,Boolean) Method
    In This Topic
    Set mapping between a content control and an XML node stored within a Custom XML Data part in the document.
    Syntax
    'Declaration
     
    Public Overloads Function SetMapping( _
       ByVal node As System.Xml.XmlNode, _
       Optional ByVal customXmlPartId As System.String, _
       Optional ByVal supportRichTextControl As System.Boolean _
    ) As System.String
    public System.string SetMapping( 
       System.Xml.XmlNode node,
       System.string customXmlPartId,
       System.bool supportRichTextControl
    )

    Parameters

    node
    The System.Xml.XmlNode which is mapped to the content control.
    customXmlPartId
    The CustomXmlPart identifier which shall be used to evaluate the given XPath expression.
    supportRichTextControl
    Whether the xml mapping supports a content control with ContentControlType.RichText type.

    Return Value

    Inner xml of the mapped node stored within a XmlDocument in the document.
    See Also