Document.SelectContentControlsByTag Method
Visual Studio 2010
Returns all the content controls in the document that have the specified tag.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Parameters
- Tag
- Type: System.String
The tag of the content controls to return.
Return Value
Type: Microsoft.Office.Interop.Word.ContentControlsA ContentControls collection that contains the content controls that have the specified tag.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.