|
SearchCriteria.LoadAll Method |
Top Previous Next |
|
Loads the object and the search engine configuration with previously saved criteria in a valid SRF format.
Parameters
strFileName File name to load the criteria and configuration from.
Remarks
A SRF file not only contains the criteria for a search but also the engine configuration at the time of the search. While the Load method only the loads the criteria information into the SearchCriteria object the LoadAll method also loads the SearchConfiguration object for the search engine with the configuration information stored in the SRF file.
Example
[Visual Basic]
engineSearch = New SearchEngineClass
engineSearch.SearchCriteria.LoadAll( "c:\SavedCriteria.srf" ) engineSearch.SearchCriteria.ContainingText = "search"
Dim listResult As SearchResultItemList = engineSearch.Start( False ) |