Determines what action is performed when the MAPIMessages control is invoked. This property is not available at design time. Setting the Action property at run time invokes the control. This property is write-only at run time.
Note The Action property is included for compatibility with earlier versions of Visual Basic. For additional functionality, use the new methods listed in the Methods table for the MAPIMessages control.
Syntax
object.Action [ = value ]
The Action property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer expression specifying the action to perform. |
Remarks
The following table lists the Action property settings used for backwards compatibility and the corresponding new methods.
Action property setting | Corresponding method |
MESSAGE_FETCH | Fetch method |
MESSAGE_SENDDLG | Send method |
MESSAGE_SEND | Send method |
MESSAGE_SAVEMSG | Save method |
MESSAGE_COPY | Copy method |
MESSAGE_COMPOSE | Compose method |
MESSAGE_REPLY | Reply method |
MESSAGE_REPLYALL | ReplyAll method |
MESSAGE_FORWARD | Forward method |
MESSAGE_DELETE | Delete method |
MESSAGE_SHOWADBOOK | Show method |
MESSAGE_SHOWDETAILS | Show method |
MESSAGE_RESOLVENAME | ResolveName method |
RECIPIENT_DELETE | Delete method |
ATTACHMENT_DELETE | Delete method |
Data Type
Integer