Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Use the Add(String, String, Int32) method of the ContentControlListEntries collection to create a new object. Use the Item[Int32] method, or DropdownListEntries(Index), where Index is the ordinal position of the content control list item, to access an individual list item within the ContentControlListEntries collection.
List entries must have unique display names. Attempting to add a list item that already exists raises a run-time error.
Use the Text property to set the display text for a content control list item, and use the Value property to set a programmatic value that you may use later for processing a form. For example, you may use a content control drop-down list for a list of products. The Text property may contain the name of the product, a display name that a user can easily recognize and understand. The Value property may contain the product number for the product that corresponds to a product number in a database. You can then use the the product number from the Value property to look up product information in a database. Also, the value of the Value property is what is sent to the custom XML data if the content control is mapped to XML data in the data store.
Use the Delete() method to remove an item from a content control drop-down list or combo box.