Share via


PrerequisiteCollection::GetItem method

Returns an issue from the collection.

Syntax

virtual HRESULT GetItem(
  [in]        INT               index,
  [out] const PrerequisiteIssue **item
) const = 0;

Parameters

index [in]

The zero-based index of the issue in the collection.

item [out]

A pointer to receive the issue. This parameter will be NULL if the method returns an error.

Return value

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

If the PrerequisiteIssue object was successfully retrieved, the method returns S_OK.

If there is any error, the method returns NULL.

If index is less than zero or specifies a non-existent issue, the method returns E_BOUNDS.

If item is NULL, the method returns E_POINTER.

Requirements

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

See also

PrerequisiteCollection