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
textstringSpecifies text to mark.
optionsSearchOptionsSpecifies parameters of search.
expressionRegexRepresents a regular expression to find text.
Returns
- int
Number of found occurrences.