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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.