Share via


ActivityCollection::DeleteItem method

Deletes an Activity from the ActivityCollection.

Syntax

virtual HRESULT DeleteItem(
  [in] INT index
) = 0;

Parameters

index [in]

The Activity identifier.

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