|
ExportFormatType Enumeration |
Top Previous Next |
|
Provides the fields that represent the format type for exporting.
Remarks
ExportFormatType enumeration is used by the ExportCriteria class.
Members
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" )
|