Replacement.Text Property
Returns or sets the text to find or replace in the specified range or selection.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Text As String
Get
Set
'Usage
Dim instance As Replacement
Dim value As String
value = instance.Text
instance.Text = value
string Text { get; set; }
Property Value
Type: System.String
Remarks
The Text property returns the plain, unformatted text of the selection or range. When you set this property, the text of the range or selection is replaced.