ContentControls 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.

  NameDescription
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

  NameDescription
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

Community Additions

ADD
Show:
© 2014 Microsoft