Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class ContentControls : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("804CD967-F83B-432D-9446-C61A45CFEFF0")] public interface ContentControls : System.Collections.IEnumerable
type ContentControls = interface interface IEnumerable
Public Interface ContentControls Implements IEnumerable
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
Returns an _Application object that represents the Microsoft Word application.
Returns the number of items in the ContentControls collection. Read-only.
Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only.
Returns the specified content control within the collection of content controls in a document.
Returns the parent object of the ContentControls object.
Adds a new content control, of the type specified, into the active document and returns a ContentControl object that represents the new content control.