ComboBoxContentControl.Text 屬性

取得或設定 ComboBoxContentControl 中的文字。

命名空間:  Microsoft.Office.Tools.Word
組件:  Microsoft.Office.Tools.Word (在 Microsoft.Office.Tools.Word.dll 中)

語法

'宣告
Property Text As String
string Text { get; set; }

屬性值

型別:System.String
ComboBoxContentControl 中的文字。

備註

若要存取控制項和其他文字屬性中的文字格式,請使用 Range 屬性。

.NET Framework 安全性

請參閱

參考

ComboBoxContentControl 介面

Microsoft.Office.Tools.Word 命名空間