Method FindText
FindText(string, string, SearchOptions, Regex, out ISearch)
Searches text by specified parameters.
public virtual bool FindText(string fileName, string text, SearchOptions options, Regex expression, out ISearch search)
Parameters
fileName
stringName of the file where should find text.
text
stringText to find.
options
SearchOptionsSearch options.
expression
RegexRegular expression to find text.
search
ISearchReceives an ISearch object corresponding to file where search was performed.
Returns
- bool
True if succeed; otherwise false.