'Declaration Public Overloads Function SetMapping( _ ByVal xPath As System.String, _ Optional ByVal prefixMappings As System.String, _ Optional ByVal customXmlPartId As System.String, _ Optional ByVal supportRichTextControl As System.Boolean _ ) As System.String
public System.string SetMapping( System.string xPath, System.string prefixMappings, System.string customXmlPartId, System.bool supportRichTextControl )
Parameters
- xPath
- The XPath expression which shall be evaluated to find the custom XML node which is mapped to the content control.
- prefixMappings
- The set of prefix mappings which shall be used to interpret the XPath expression when the XPath expression is evaluated against the custom XML data parts in the document.
- 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.