Method ReplaceCurrent
ReplaceCurrent(string, SearchOptions, Match)
When implemented by a class, replaces currently selected text.
bool ReplaceCurrent(string replaceWith, SearchOptions options, Match match)
Parameters
replaceWith
stringText to replace.
options
SearchOptionsSpecifies parameters of search and replace.
match
MatchRepresents Match object if regular expression search successful.
Returns
- bool
True if succeed; otherwise false.