_Document.SelectUnlinkedControls(CustomXMLPart) 方法

定义

返回文档中未链接到文档的 XML 数据存储区中的 XML 节点的所有内容控件。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.

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

参数

Stream
CustomXMLPart

自定义的 XML 部件参考。A custom XML part reference. 设置此参数将筛选返回的内容控件,以仅包括 _CustomXMLPart 在其定义中引用此内容的内容控件 XMLMappingSetting this parameter filters the returned content controls to include only content controls that reference this _CustomXMLPart in their XMLMapping definition.

返回

ContentControls

ContentControls

适用于