Method HighlightAll
HighlightAll(string, SearchOptions, Regex)
When implemented by a class, highlights all occurrences of specified string in the class text content.
int HighlightAll(string text, SearchOptions options, Regex expression)
Parameters
textstringSpecifies text to mark.
optionsSearchOptionsSpecifies parameters of search.
expressionRegexRepresents a regular expression to find text.
Returns
- int
Number of found occurrences.