XMLMapping.IsMapped Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean that represents whether the content control in the document is mapped to an XML node in the document’s XML data store. Read-only.
public:
property bool default { bool get(); };
public bool this { get; }
member this.IsMapped : bool
Default Public ReadOnly Property IsMapped As Boolean
Property Value
Examples
The following example deletes the XML mapping for all content controls in the active document that are currently mapped.
<span class="label">Dim objCC As ContentControl
For Each objCC In ActiveDocument.ContentControls
If objCC.XMLMapping.</span>
<span class="label">IsMapped</span>
<span class="label">Then objCC.XMLMapping.Delete End IfNext</span>