LinkCollection::AddItem method

Creates a Link and adds it to the LinkCollection.

Syntax

virtual HRESULT AddItem(
  [in]            LPCWSTR linkTitle,
  [in]            LPCWSTR linkValue,
  [out, optional] Link    **link
) = 0;

Parameters

linkTitle [in]

The link title.

linkValue [in]

The link value, a URI.

link [out, optional]

The link that this method creates.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

A LinkCollection holds data from an Issue/Solution/Links or Issue/AnalysisLinks element.

A Link holds data from a Links/Link or AnalysisLinks/Link element.

The link title is the value of element Link/LinkTitle.

The link value is the value of element Link/LinkURI.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

LinkCollection