Partager via


ContentControlListEntry Members (Word)

A ContentControlListEntry object represents a list item in a drop-down list or combo box content control. A ContentControlListEntry object is a member of the ContentControlListEntries collection for a ContentControl object.

Methods

Name

Description

Delete

Deletes the specified item in a combo box or drop-down list content control.

MoveDown

Moves an item in a drop-down list or combo box content control down one item, so that it is after the item that originally followed it.

MoveUp

Moves an item in a drop-down list or combo box content control up one item, so that it is before the item that originally preceded it.

Select

Selects the list entry in a drop-down list or combo box content control and sets the text of the content control to the value of the item.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only Long.

Index

Returns or sets a Long that represents the ordinal position of a content control list item in the collection of list items. Read/write.

Parent

Returns an Object that represents the parent object of the specified ContentControlListEntry object.

Text

Returns or sets a String that represents the display text of a list item for a drop-down list or combo box content control. Read/write.

Value

Returns or sets a String that represents the programmatic value of an item in a drop-down list or combo box content control. Read/write.