Document.SelectUnlinkedControls Method (CustomXMLPart)

 

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

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

ContentControls SelectUnlinkedControls(
	CustomXMLPart Stream = null
)

Parameters

Stream
Type: Microsoft.Office.Core.CustomXMLPart

The Microsoft.Office.Core.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 referencethisMicrosoft.Office.Core.CustomXMLPart in their P:Microsoft.Office.Interop.Word.ContentControl.XMLMapping property.

Return Value

Type: Microsoft.Office.Interop.Word.ContentControls

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

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

Return to top
Show: