ContentControls Members (Word)

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.

Methods

Name

Description

Add

Adds a new content control, of the type specified, into the active document and returns a ContentControl object that represents the new content control.

Item

Returns a ContentControl object that represents the specified content control within the collection of content controls in a document.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns the number of items in the ContentControls collection. Read-only Long.

Creator

Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified ContentControls object.