編輯

共用方式為


XMLMapping.Delete Method

Definition

Deletes the XML mapping from the parent content control.

public:
 void Delete();
public void Delete ();
abstract member Delete : unit -> unit
Public Sub Delete ()

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.IsMapped Then































































































































        objCC.XMLMapping.</span>
<span class="label">Delete</span>
<span class="label">End IfNext</span>

Remarks

This operation removes the XML mapping. Both the XML data and the content control remain in the document.

Applies to