Share via


Document.SelectUnlinkedControls(CustomXMLPart) Method

Definition

Returns all the content controls in the document that are not linked to a custom XML part.

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 = Nothing) As ContentControls

Parameters

Stream
CustomXMLPart

The CustomXMLPart that is used to filter the content controls you want to get in the document. If you specify a value for this parameter, this method returns only the content controls that referencethisCustomXMLPart in their XMLMapping property.

Returns

A ContentControls collection that contains the content controls in the document that are not linked to a custom XML part.

Remarks

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to