Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<GuidAttribute("54F46DC4-F6A6-48CC-BD66-46C1DDEADD22")> _
Public Interface ContentControlListEntries _
Inherits IEnumerable
'Usage
Dim instance As ContentControlListEntries
[GuidAttribute("54F46DC4-F6A6-48CC-BD66-46C1DDEADD22")]
public interface ContentControlListEntries : IEnumerable
Remarks
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.