Method ReplaceAll
ReplaceAll(ISearch, string, string, SearchOptions, Regex, out int, out bool)
Replaces all occurrences of given text found by specified parameters.
public virtual bool ReplaceAll(ISearch search, string text, string replaceWith, SearchOptions options, Regex expression, out int count, out bool abort)
Parameters
search
ISearchISearch where search starts.
text
stringText to find.
replaceWith
stringText to replace.
options
SearchOptionsSearch options.
expression
RegexRegular expression to find text.
count
intNumber of replaced occurrences.
abort
boolReceives a boolean value indicating whether replace action aborted.
Returns
- bool
True if succeed; otherwise false.