Method HighlightAll
HighlightAll(string, SearchOptions, Regex)
Highlights all occurrences of specified string in the class text content.
public virtual 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.