Freigeben über


Document.ContentControls Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::ContentControls ^ ContentControls { Microsoft::Office::Interop::Word::ContentControls ^ get(); };
public Microsoft.Office.Interop.Word.ContentControls ContentControls { get; }
member this.ContentControls : Microsoft.Office.Interop.Word.ContentControls
Public ReadOnly Property ContentControls As ContentControls

Property Value

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

Remarks

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.

Applies to