_Document.SelectContentControlsByTag Method
Returns a ContentControls collection that represents all the content controls in a document with the tag value specified in the Tag parameter. Read-only.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function SelectContentControlsByTag ( _
Tag As String _
) As ContentControls
'Usage
Dim instance As _Document
Dim Tag As String
Dim returnValue As ContentControls
returnValue = instance.SelectContentControlsByTag(Tag)
ContentControls SelectContentControlsByTag(
string Tag
)
Parameters
- Tag
Type: System.String
The tag value of the content controls to return.
Return Value
Type: Microsoft.Office.Interop.Word.ContentControls
ContentControls