MarkAll Method
MarkAll(String, Boolean)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
Declaration
public virtual int MarkAll(string text, bool clearPrevious)
Parameters
Type | Name | Description |
---|---|---|
String | text | Specifies text to mark. |
Boolean | clearPrevious | Indicates whether all unnumbered bookmarks should be removed from the bookmarks collection. |
Returns
Type | Description |
---|---|
Int32 | Number of found occurrences. |
Implements
MarkAll(String, SearchOptions, Boolean)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
Declaration
public virtual int MarkAll(string text, SearchOptions options, bool clearPrevious)
Parameters
Type | Name | Description |
---|---|---|
String | text | Specifies text to mark. |
SearchOptions | options | Specifies parameters of search. |
Boolean | clearPrevious | Indicates whether all unnumbered bookmarks should be removed from the bookmarks collection. |
Returns
Type | Description |
---|---|
Int32 | Number of found occurrences. |
Implements
MarkAll(String, SearchOptions, Regex, Boolean)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
Declaration
public virtual int MarkAll(string text, SearchOptions options, Regex expression, bool clearPrevious)
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. |
Boolean | clearPrevious | Indicates whether all unnumbered bookmarks should be removed from the bookmarks collection. |
Returns
Type | Description |
---|---|
Int32 | Number of found occurrences. |