ContentControlListEntry.Text Property
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)
Syntax
'Declaration
Default Property Text As String
Get
Set
'Usage
Dim instance As ContentControlListEntry
Dim value As String
value = instance
instance = value
string this { get; set; }
Property Value
Type: System.String
String
Remarks
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.
See Also
Reference
ContentControlListEntry Interface