Find Method
Find(String, SearchOptions, Regex, ref Point, out Int32, out Match, Boolean)
When implemented by a class, searches for given text within the control's text content.
Declaration
bool Find(string s, SearchOptions options, Regex expression, ref Point position, out int len, out Match match, bool searchHiddenLines = false)
Parameters
Type | Name | Description |
---|---|---|
String | s | The text to locate in the collection. |
SearchOptions | options | Specifies parameters of search. |
Regex | expression | Represents a regular expression to find text. |
Point | position | Position in strings collection to start search. |
Int32 | len | Receives length of the found text. |
Match | match | Receives match if regular expression search successful. |
Boolean | searchHiddenLines | Specifies if hidden lines should be processed. |
Returns
Type | Description |
---|---|
Boolean | True if search succeed; otherwise false. |
Remarks
If search succeed Position parameter receive location of the found text.