This documentation is archived and is not being maintained.

ContentControlListEntries Interface

The ContentControlListEntries collection contains ContentControlListEntry objects that represent the items in a drop-down list or combo box content control.

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

'Declaration
<GuidAttribute("54F46DC4-F6A6-48CC-BD66-46C1DDEADD22")> _
Public Interface ContentControlListEntries _
	Inherits IEnumerable
'Usage
Dim instance As ContentControlListEntries

Use the Add(String, String, Int32) method to add an item to a drop-down list or combo box.

Use the Item(Int32) method or the DropdownListEntries property of a ContentControl object to access an individual list item within a collection.

Use the Clear method to remove all items from a drop-down list or combo box. The following example clears all items from the first content control in the active document.

Show: