Partager via


ControlCollection.AddContentControl Method

Include Protected Members
Include Inherited Members

Adds a new ContentControl to the document.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddContentControl(ContentControl, String) Adds a new ContentControl that is based on a native content control in the document.
Public method AddContentControl(String, WdContentControlType) Adds a new ContentControl of the specified type at the current selection in the document.
Public method AddContentControl(Range, String, WdContentControlType) Adds a new ContentControl of the specified type at the specified range in the document.

Top

See Also

Reference

ControlCollection Interface

Microsoft.Office.Tools.Word Namespace