ActivityCollection::AddItem method

Creates an Activity and adds it to the ActivityCollection.

Syntax

virtual HRESULT AddItem(
  [out] Activity **activity
) = 0;

Parameters

activity [out]

The Activity that this method creates.

Return value

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

Remarks

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