PlainTextContentControl.Text 属性

获取或设置 PlainTextContentControl 中的文本。

命名空间:  Microsoft.Office.Tools.Word
程序集:  Microsoft.Office.Tools.Word(在 Microsoft.Office.Tools.Word.dll 中)

语法

声明
Property Text As String
    Get
    Set
string Text { get; set; }

属性值

类型:System.String
PlainTextContentControl 中的文本。

备注

若要访问控件中文本的格式设置和其他文本属性,请使用 Range 属性。

.NET Framework 安全性

请参见

参考

PlainTextContentControl 接口

Microsoft.Office.Tools.Word 命名空间