Document.ContentControls Property


Gets the collection of all the content controls in the document.

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

ContentControls ContentControls { get; }

Property Value

Type: Microsoft.Office.Interop.Word.ContentControls

A ContentControls collection that contains all the content controls in the document.

This property returns the collection of native content controls in the document (that is, the Microsoft.Office.Interop.Word.ContentControl objects in the document).

To access the extended content controls in the document, use the Controls property.

For more information about extended content controls, see Content Controls.

Return to top