_Document.SelectUnlinkedControls(CustomXMLPart) Method

Definition

Returns all of the content controls in a document that are not linked to an XML node in the document's XML data store. Read-only.

public Microsoft.Office.Interop.Word.ContentControls SelectUnlinkedControls (Microsoft.Office.Core.CustomXMLPart Stream = default);
abstract member SelectUnlinkedControls : Microsoft.Office.Core.CustomXMLPart -> Microsoft.Office.Interop.Word.ContentControls
Public Function SelectUnlinkedControls (Optional Stream As CustomXMLPart = null) As ContentControls

Parameters

Stream
CustomXMLPart

A custom XML part reference. Setting this parameter filters the returned content controls to include only content controls that reference this _CustomXMLPart in their XMLMapping definition.

Returns

ContentControls

Applies to