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
fileNamestringName of the file where should find text.
textstringText to find.
optionsSearchOptionsSearch options.
expressionRegexRegular expression to find text.
searchISearchReceives an ISearch object corresponding to file where search was performed.
Returns
- bool
True if succeed; otherwise false.