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
searchISearchISearch where search starts.
textstringText to find.
replaceWithstringText to replace.
optionsSearchOptionsSearch options.
expressionRegexRegular expression to find text.
countintNumber of replaced occurrences.
abortboolReceives a boolean value indicating whether replace action aborted.
Returns
- bool
True if succeed; otherwise false.