Modifica

Condividi tramite


XMLMapping.IsMapped Property

Definition

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>

Applies to