HELP_SEARCH_MODE_TITLE—search for
string in the titles of all the help topics in the given scope.

HELP_SEARCH_MODE_TEXT—search the text of
all the help topics in the current scope.

HELP_SEARCH_MODE_DISPLAYED—search the text
of the displayed topic only.

scope

One of the following:

HELP_SEARCH_SCOPE_ALL—search for the text
in all the online help information.

HELP_SEARCH_SCOPE_SELECTED—search for text
in the selected topic only (for example, in a single book or bookset).

method

One of the following:

HELP_SEARCH_METHOD_EXACT—search for an exact
match (excluding case).
For example, if you're searching topic titles for Help, match
a title Help, but not Help files.

HELP_SEARCH_METHOD_WORD—search for the string
as a distinct word or words, ignoring case.
For example, if you're searching for Help, match
Help and help files but not Helpviewer.

HELP_SEARCH_METHOD_SUBSTRING—search for the
string as distinct words or as substrings, ignoring case.
For example, if you're searching for
Help, match Help, help files, and
Helpviewer.

HELP_SEARCH_METHOD_SUBSTRING_CASE — search for the
string as distinct words or as substrings, paying attention to the case.
For example, if you're searching for
Help, match Help and Helpviewer, but
not help files.