共用方式為


GroupContentControl.Text 屬性

取得 GroupContentControl 中的文字。

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

語法

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

屬性值

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

備註

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

.NET Framework 安全性

請參閱

參考

GroupContentControl 介面

Microsoft.Office.Tools.Word 命名空間