Partager via


PlainTextContentControl.Text Property

Gets or sets the text in the PlainTextContentControl.

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

Syntax

'Declaration
Property Text As String
string Text { get; set; }

Property Value

Type: System.String
The text in the PlainTextContentControl.

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

PlainTextContentControl Interface

Microsoft.Office.Tools.Word Namespace