Share via


XMLMapping Object Members

Word Developer Reference

Represents the XML mapping on a ContentControl object between custom XML and a content control. An XML mapping is a link between the text in a content control and an XML element in the custom XML data store for this document.

Methods

  Name Description
Bb258027.methods(en-us,office.12).gif Delete Deletes the XML mapping from the parent content control.
Bb258027.methods(en-us,office.12).gif SetMapping Allows creating or changing the XML mapping on a content control. Returns True if Microsoft Office Word maps the content control to a custom XML node in the document’s custom XML data store.
Bb258027.methods(en-us,office.12).gif SetMappingByNode Allows creating or changing the XML data mapping on a content control. Returns True if Microsoft Office Word maps the content control to a custom XML node in the document’s custom XML data store.

Properties

  Name Description
Bb258027.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb258027.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only Long.
Bb258027.properties(en-us,office.12).gif CustomXMLNode Returns a CustomXMLNode object that represents the custom XML node in the data store to which the content control in the document maps.
Bb258027.properties(en-us,office.12).gif CustomXMLPart Returns a CustomXMLPart object that represents the custom XML part to which the content control in the document maps.
Bb258027.properties(en-us,office.12).gif IsMapped Returns a Boolean that represents whether the content control in the document is mapped to an XML node in the document’s XML data store. Read-only.
Bb258027.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified XMLMapping object.
Bb258027.properties(en-us,office.12).gif PrefixMappings Returns a String that represents the prefix mappings used to evaluate the XPath for the current XML mapping. Read-only.
Bb258027.properties(en-us,office.12).gif XPath Returns a String that represents the XPath for the XML mapping, which evaluates to the currently mapped XML node. Read-only.