_Document.SelectUnlinkedControls Method
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.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function SelectUnlinkedControls ( _
Stream As CustomXMLPart _
) As ContentControls
'Usage
Dim instance As _Document
Dim Stream As CustomXMLPart
Dim returnValue As ContentControls
returnValue = instance.SelectUnlinkedControls(Stream)
ContentControls SelectUnlinkedControls(
CustomXMLPart Stream
)
Parameters
- Stream
Type: 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.
Return Value
Type: Microsoft.Office.Interop.Word.ContentControls
ContentControls