PlainTextContentControl.Text Property (2007 System)

Gets or sets the text in the PlainTextContentControl.

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

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property Text As String
'Usage
Dim instance As PlainTextContentControl 
Dim value As String 

value = instance.Text

instance.Text = value
[BindableAttribute(true)]
public string Text { get; set; }
[BindableAttribute(true)]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
public function get Text () : String 
public function set Text (value : String)

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 Class

PlainTextContentControl Members

Microsoft.Office.Tools.Word Namespace