This documentation is archived and is not being maintained.

XMLMapping.IsMapped Property

Office 2007
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.

Syntax

expression.IsMapped

expression   An expression that returns an XMLMapping object.

Example

The following example deletes the XML mapping for all content controls in the active document that are currently mapped.

Visual Basic for Applications
Dim objCC As ContentControl

For Each objCC In ActiveDocument.ContentControls
    If objCC.XMLMapping.IsMapped Then
        objCC.XMLMapping.Delete
    End If
Next



Show: