Share via


PlainTextContentControl.XMLMapping Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property XMLMapping As XMLMapping
'Usage
Dim instance As PlainTextContentControl 
Dim value As XMLMapping 

value = instance.XMLMapping
public XMLMapping XMLMapping { get; }
public:
property XMLMapping^ XMLMapping {
    XMLMapping^ get ();
}
public function get XMLMapping () : XMLMapping

Property Value

Type: 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

See Also

Reference

PlainTextContentControl Class

PlainTextContentControl Members

Microsoft.Office.Tools.Word Namespace

Other Resources

Content Controls

Custom XML Parts Overview

Walkthrough: Binding Content Controls to Custom XML Parts