Share via


ActivityCollection::GetItem method

Returns an Activity from the ActivityCollection.

Syntax

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

Parameters

index [in]

The Activity identifier.

activity [out]

The Activity.

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.

The ActivityCollection holds data from element Iteration/Activities.

The Activity objects hold data from Activities/Activity elements.

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

ActivityCollection