다음을 통해 공유


DatePickerContentControl.XMLMapping Property

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

Remarks

Use the XMLMapping property to bind a DatePickerContentControl 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

DatePickerContentControl Interface

Microsoft.Office.Tools.Word Namespace

Other Resources

Content Controls

Custom XML Parts Overview

Walkthrough: Binding Content Controls to Custom XML Parts