ExportCriteria Class

Top  Previous  Next

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

 

Description

 

Represents criteria used for specifying which data should be exported during an Export.

 

 

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

 

 

 

Example

 

[Visual Basic]

 

       

       engineSearch = New SearchEngineClass

 

       engineSearch.SearchCriteria.FileName         = "*.txt"

       engineSearch.SearchCriteria.ContainingText   = "search"

       engineSearch.SearchCriteria.LookIn           = "c:\search folder"

 

       Dim listResult As SearchResultItemList = engineSearch.Start( False )

       

       ' Export the results to a file

 

       listResult.ExportCriteria.ExportContents         = True

       listResult.ExportCriteria.ExportSurroundingLines = False

       listResult.ExportCriteria.ExportFormat           = ExportFormatType.HTML

 

       listResult.ExportToFile( "C:\Results.html" )

 

 


Copyright © 2000-2007 Mythicsoft Ltd. All rights reserved.
SDK help file version: 4.0.1