This method adds a file of noise words to the collection.
Syntax
IStoplists.Add(Name, Filename, Language, SubLanguage)
Parameters
Name
A text string specifying the name of the stop list. Search sets the Name property of the stop list to this value.
Filename
A text string specifying the full path to the file containing the list of words that Search ignores. Search sets the Filename property of the stop list to this value.
Language
A vbLong specifying the language ID, in the range from 0 to 1023, to which the stop list applies. Search sets the Language property of the stop list to this value.
SubLanguage
A vbLong specifying the language dialect ID, in the range from 0 to 63, to which the stop list applies. Search sets the SubLanguage property of the stop list to this value.
Remarks
The Language and SubLanguage values must be unique in this Search schema.
Validation is not performed until you execute the SearchSchema.Save method.
NOTE: You must add the following lines to the Schema.txt file to make a new noise list persistent in the schema:
<stoplist
language=Name
file=Filename
primarylanguage=Language
sublanguage=Sublanguage>
Example
Accessing an IStopLists Interface Object.