HighlightAll Method
HighlightAll(String, SearchOptions, Regex)
Highlights all occurrences of specified string in the class text content.
Declaration
public virtual int HighlightAll(string text, SearchOptions options, Regex expression)
Parameters
Type | Name | Description |
---|---|---|
String | text | Specifies text to mark. |
SearchOptions | options | Specifies parameters of search. |
Regex | expression | Represents a regular expression to find text. |
Returns
Type | Description |
---|---|
Int32 | Number of found occurrences. |