Sdílet prostřednictvím


DocumentBase.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);
member this.SelectUnlinkedControls : Microsoft.Office.Core.CustomXMLPart -> Microsoft.Office.Interop.Word.ContentControls
Public Function SelectUnlinkedControls (Optional stream As CustomXMLPart) 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