CustomAction Event
Collapse the table of content
Expand the table of content

TaskRequestItem.CustomAction Event (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Occurs when a custom action of an item (which is an instance of the parent object) executes.

expression .CustomAction(Action, Response, Cancel)

expression A variable that represents a TaskRequestItem object.

Parameters

Name

Required/Optional

Data Type

Description

Action

Required

Object

The Action object.

Response

Required

Object

The newly created item resulting from the custom action.

Cancel

Required

Boolean

(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the custom action is not completed.

The Action object and the newly created item resulting from the custom action are passed to the event.

In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the custom action operation is not completed.

Show:
© 2016 Microsoft