ContentControls interface

A collection of ContentControl objects. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain content such as dates, lists, or paragraphs of formatted text.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

'Declaration
<GuidAttribute("804CD967-F83B-432D-9446-C61A45CFEFF0")> _
Public Interface ContentControls _
	Inherits IEnumerable
'Usage
Dim instance As ContentControls

Use the Add(WdContentControlType, Object) method to create a new content control and insert it into a document.

Use the Item[Object] method to access a specific content control in the collection. Use the ContentControl object to work with individual content controls. For more information, see Working with Content Controls.

Show:
© 2014 Microsoft