共用方式為


PlainTextContentControl.XMLMapping Property

Definition

Gets an XMLMapping that represents the binding between the PlainTextContentControl and an element in a custom XML part.

public:
 property Microsoft::Office::Interop::Word::XMLMapping ^ XMLMapping { Microsoft::Office::Interop::Word::XMLMapping ^ get(); };
public Microsoft.Office.Interop.Word.XMLMapping XMLMapping { get; }
member this.XMLMapping : Microsoft.Office.Interop.Word.XMLMapping
Public ReadOnly Property XMLMapping As XMLMapping

Property Value

An XMLMapping that represents the binding between the PlainTextContentControl and an element in a custom XML part.

Examples

For a code example that demonstrates how to use the XMLMapping property, see Walkthrough: Binding Content Controls to Custom XML Parts.

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.

Applies to