SearchCriteria Class

Top  Previous  Next

For a list of all members of this type, see SearchCriteria Members.

 

Description

 

Represents the search criteria used by an instance of SearchEngine.

 

 

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

 

This class is not created directly but referenced from an instance of SearchEngine. The criteria can be loaded or saved in the SRF format compatible with the retail version of FileLocator Pro.

 

 

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

 

 Dim listResult As SearchResultItemList = engineSearch.Start( False )

 

 


Copyright © 2003-2013 Mythicsoft Ltd. All rights reserved.
SDK help file version: 7.0.2