Partager via


ComboBoxContentControl.XMLMapping Property

Gets an Microsoft.Office.Interop.Word.XMLMapping that represents the binding between the ComboBoxContentControl 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 Microsoft.Office.Interop.Word.XMLMapping that represents the binding between the ComboBoxContentControl and an element in a custom XML part.

Remarks

Use the XMLMapping property to bind a ComboBoxContentControl 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 this property, see Walkthrough: Binding Content Controls to Custom XML Parts.

.NET Framework Security

See Also

Reference

ComboBoxContentControl Interface

Microsoft.Office.Tools.Word Namespace

Other Resources

Content Controls

Custom XML Parts Overview

Walkthrough: Binding Content Controls to Custom XML Parts