共用方式為


ITopic::Category method

Returns topic categories (if defined in the content)

Syntax

HRESULT Category(
  [out, retval] SAFEARRAY BSTR
);

Parameters

BSTR [out, retval]

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

ITopic