|
ExtensionPlugInList.Find Method |
Top Previous Next |
|
Finds an extension based on the extensions unique name.
Parameters
strUniqueName Unique name of the extension, as defined in the plugin_cfg XML file.
Return Value
An instance of ExtensionPlugIn if found. Otherwise the method will return Nothing.
Remarks
Find is case-sensitive so the unique name must be specified exactly as it is configured in the plugin_cfg XML file.
Example
[Visual Basic]
engineSearch = New SearchEngineClass
engineSearch.SearchCriteria.FileName = "*.pdf" engineSearch.SearchCriteria.ContainingText = "search" engineSearch.SearchCriteria.LookIn = "c:\search folder"
' Switch on the pdf converter to extract the text from PDF files.
engineSearch.SearchConfiguration.ExtensionPlugInList.Find("http://www.mythicsoft.com/pdfconverter").Active = True
Dim listResult As SearchResultItemList = engineSearch.Start( False ) |