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)

[GuidAttribute("54F46DC4-F6A6-48CC-BD66-46C1DDEADD22")]
public interface ContentControlListEntries : IEnumerable

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:
© 2014 Microsoft