PlainTextContentControl.XMLMapping Property
Gets an XMLMapping that represents the binding between the PlainTextContentControl and an element in a custom XML part.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property XMLMapping As XMLMapping
XMLMapping XMLMapping { get; }
Property Value
Type: Microsoft.Office.Interop.Word.XMLMapping
An XMLMapping that represents the binding between the PlainTextContentControl and an element in a custom XML part.
Remarks
Use the XMLMapping property to bind a PlainTextContentControl to an element in a piece of XML (also named custom XML part) that is embedded in the document. For more information, see Content Controls and Custom XML Parts Overview.
Examples
For a code example that demonstrates how to use the XMLMapping property, see Walkthrough: Binding Content Controls to Custom XML Parts.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PlainTextContentControl Interface
Microsoft.Office.Tools.Word Namespace