AddSearchWord(SearchWord As String) As Integer

DocContent object

Example

Description

Adds a string to a collection of search words to compare with a DocWord's ValueString during a call to FindBestWordMatches.

After FindBestWordMatches is called, the search words are deleted in order to permit a new search with new search words, so AddSearchWord must be called again before the next call to FindBestWordMatches.

Syntax

[ReturnValue =]Object.AddSearchWord( SearchWord )

Part

Data type

Description

Object

DocContent

 

SearchWord

String

A new search word for the next call to FindBestWordMatches.

Return value

Data type: Integer

Description: Returns 0 on success.

Remarks

SetWordSearchOptions

The DocContent object