共用方式為


DocumentBase.SelectUnlinkedControls Method

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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Function SelectUnlinkedControls ( _
    stream As CustomXMLPart _
) As ContentControls
public ContentControls SelectUnlinkedControls(
    CustomXMLPart stream
)

Parameters

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.

Remarks

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

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace