Share via


DropDownListContentControl.Text Property (2007 System)

Gets the text in the DropDownListContentControl.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Text As String
'Usage
Dim instance As DropDownListContentControl 
Dim value As String 

value = instance.Text
[BrowsableAttribute(false)]
public string Text { get; }
[BrowsableAttribute(false)]
public:
property String^ Text {
    String^ get ();
}
public function get Text () : String

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 Class

DropDownListContentControl Members

Microsoft.Office.Tools.Word Namespace