Version

ReplaceCurrent Method

Replaces the current find match with the specified text, or does nothing if there is no current find match.
Syntax
'Declaration
 
Public Function ReplaceCurrent( _
   ByVal replacementText As String, _
   ByRef error As String _
) As Boolean
public bool ReplaceCurrent( 
   string replacementText,
   out string error
)

Parameters

replacementText
The text to use as a replacement for the current find match.
error
An error message if an error was encountered.

Return Value

True if successful, otherwise false.
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