DropDownListContentControl.Text Property

Gets the text in the DropDownListContentControl.

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

Syntax

'Declaration
ReadOnly Property Text As String
string Text { get; }

Property Value

Type: System.String
The text in the DropDownListContentControl.

Remarks

To access the formatting of the text in the control and other text properties, use the Range property.

.NET Framework Security

See Also

Reference

DropDownListContentControl Interface

Microsoft.Office.Tools.Word Namespace