ContentControls Members

Include Protected Members
Include Inherited Members

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.

The ContentControls type exposes the following members.

Methods

  Name Description
Public method 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.
Public method GetEnumerator (Inherited from IEnumerable.)

Top

Properties

  Name Description
Public property Application Returns an _Application object that represents the Microsoft Word application.
Public property Count Returns the number of items in the ContentControls collection. Read-only.
Public property Creator Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only.
Public property Item Returns the specified content control within the collection of content controls in a document.
Public property Parent Returns the parent object of the ContentControls object.

Top

See Also

Reference

ContentControls Interface

Microsoft.Office.Interop.Word Namespace