XMLMapping.CustomXMLPart Property
Word Developer Reference |
Returns a CustomXMLPart object that represents the custom XML part to which the content control in the document maps.
Syntax
expression.CustomXMLPart
expression An expression that returns an XMLMapping object.
Example
The following example accesses the first content control in the active document and the custom XML part to which it is mapped, and then sets the text value of one of the XML nodes contained within the custom XML part.
Note |
---|
This example assumes that at least one content control in the active document is mapped to a custom XML part that contains the XML nodes specified in the XPath string. |
Visual Basic for Applications |
---|
|
See Also
- XMLMapping Object
- XMLMapping Object Members
- How to: Bind a Content Control to a Node in the Data Store
- How to: Bind Controls to a Specific Row in the Data Store When Inserting a Building Block
- How to: Capture and Respond to Events in the Data Store
- Walkthrough: Connect an Item in the Data Store to a SQL Server Database
- Walkthrough: Connect an Item in the Data Store to a Web Service
- Walkthrough: Connect an Item in the Data Store to an Access Database
- Walkthrough: Connect an Item in the Data Store to an Excel Workbook
- Working with Content Controls