Platform SDK: Exchange Server

IActions::Add Method

Inserts a new Action object into the collection.

IDL Definition

HRESULT Add([in,optional] VARIANT index, [in] IDispatch* pAction)

Visual Basic Definition

Public Function Add( [index], pAction As Object )

Parameters

index
An optional integer specifying the position of the action before which the new action is inserted. The first action is at position 1. If you don't supply this parameter, the new action is appended to the end of the collection of actions.
pAction
The object reference to the Action object to add.