次の方法で共有


ReferenceCollection::AddItem method

Creates an IssueReference and adds it to the ReferenceCollection.

Syntax

virtual HRESULT AddItem(
  [in, optional]  LPCWSTR        attributeIssueID,
  [out, optional] IssueReference **issueReference
) = 0;

Parameters

attributeIssueID [in, optional]

The issue ID.

issueReference [out, optional]

The IssueReference that this method creates.

Return value

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

Remarks

A ReferenceCollection holds data from an Activity/References element.

An IssueReference holds data from a References/IssueReference element.

The issue ID is the value of attribute IssueID of element IssueReference.

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

ReferenceCollection