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
text
stringSpecifies text to mark.
options
SearchOptionsSpecifies parameters of search.
expression
RegexRepresents a regular expression to find text.
Returns
- int
Number of found occurrences.