Constructor TextFoundEventArgs
TextFoundEventArgs(ISearch)
Initializes a new instance of the TextFoundEventArgs
class with specified parameters.
public TextFoundEventArgs(ISearch search)
Parameters
search
ISearchISearch engine where text was found.
TextFoundEventArgs(string, string, SearchOptions, Regex, Match, Point, int, bool)
Initializes a new instance of the TextFoundEventArgs
class with specified parameters.
public TextFoundEventArgs(string fileName, string text, SearchOptions options, Regex expression, Match match, Point position, int len, bool multiLine)
Parameters
fileName
stringName of file where text found.
text
stringFounded text.
options
SearchOptionsSearchOptions defines search behavior.
expression
RegexRepresents a regular expression to find text.
match
MatchMatch if regular expression search successful.
position
PointPosition where text was found.
len
intLength of found text.
multiLine
boolDetermines if search text is found on multiple lines.