|
SearchEngine Class |
Top Previous Next |
|
For a list of all members of this type, see SearchEngine Members.
Description
Represents the core searching component.
Thread Safety
This class is STA based and therefore safe for multithreaded access as long as the creating process continues to process its message loop.
Remarks
SearchEngineClass is the only createable class in the library all other classes are created directly or indirectly through this class.
Before starting a search the caller should make sure that both the SearchCriteria and SearchConfiguration properties are appropriately initialized.
Example
[Visual Basic]
engineSearch = New SearchEngineClass
engineSearch.SearchCriteria.FileName = "*.txt" engineSearch.SearchCriteria.ContainingText = "search" engineSearch.SearchCriteria.LookIn = "c:\search folder"
engineSearch.SearchCriteria.ContentsExprType = ExpressionType.RegExpClassic
engineSearch.SearchConfiguration.SearchThreadCount = 1
Dim listResult As SearchResultItemList = engineSearch.Start( False ) |