Version

ReplacementText Property

New text that the original text was replaced with.
Syntax
'Declaration
 
Public ReadOnly Property ReplacementText As String
public string ReplacementText {get;}
Remarks

ReplacementText indicates the new text that replaced the original text.

Note that ReplacementText and ReplacementContent are exclusive. Only one of these properties will return a non-null value. Which one depends on the originating replacement operation that was performed on the RichTextDocument - RichTextDocument.ReplaceAll call will result in ReplacementText returning the value and RichTextDocument.ReplaceAll call will result in ReplacementContent returning the value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also