ITopic::ParentId property

Returns topic parent identifier. The value will be -1 if the topic is a root (no parent) topic

This property is read-only.

Syntax

HRESULT get_ParentId(
  [out, retval] BSTR *pRetVal
);

Property value

The identifier of the topic's parent. If the topic is a root topic and has no parent topic, the value is -1.

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