共用方式為


IHelpFilter::Add method

method Add - Adds a filter key/value pair to the filter list

Syntax

HRESULT Add(
  [in] BSTR key,
  [in] BSTR value
);

Parameters

key [in]

value [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
IDL
Windows.Help.Runtime.idl

See also

IHelpFilter