XMLMapping.IsMapped Property
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.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Default Property IsMapped As Boolean
Get
'Usage
Dim instance As XMLMapping
Dim value As Boolean
value = instance
bool this { get; }
Property Value
Type: System.Boolean
Examples
The following example deletes the XML mapping for all content controls in the active document that are currently mapped.
Dim objCC As ContentControl
For Each objCC In ActiveDocument.ContentControls
If objCC.XMLMapping.IsMappedThen objCC.XMLMapping.Delete End IfNext