RelatedActivityCollection::GetItem method
Returns an ActivityReference from the RelatedActivityCollection.
Syntax
virtual HRESULT GetItem(
[in] INT index,
[out] ActivityReference **activityReference
) = 0;
Parameters
-
index [in]
-
The ActivityReference identifier.
-
activityReference [out]
-
The ActivityReference.
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 RelatedActivityCollection holds data from an Issue/Impact/RelatedActivities element.
An ActivityReference holds data from a RelatedActivities/ActivityReference element.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|