ContentControlListEntry.Text property

Office 2013 and later

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

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

string this { get; set; }

Property value

Type: System.String
String

List entries must have unique display names. Attempting to change the Text property to a string that already exists in the list of entries raises a run-time error.

Show: