ExtensionPlugInList.Find Method

Top  Previous  Next

Finds an extension based on the extensions unique name.

 

[Visual Basic]

 

Public Function Find(ByVal strUniqueName As String) As ExtensionPlugIn

 

 

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 )


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