Share via


LinkCollection::GetItem method

Returns a Link from the LinkCollection.

Syntax

virtual HRESULT GetItem(
  [in]  INT  index,
  [out] Link **link
) = 0;

Parameters

index [in]

The Link identifier.

link [out]

The link.

Return value

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

Remarks

index ranges from 0 to one less than the count of items in the collection.

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.

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