Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.33 KB

Outlook.ReportItem.CustomAction.md

File metadata and controls

45 lines (25 loc) · 1.33 KB
title api_name ms.assetid ms.date ms.localizationpriority
ReportItem.CustomAction event (Outlook)
Outlook.ReportItem.CustomAction
33212db2-878f-1672-1fc9-90ddd4800f0c
06/08/2017
medium

ReportItem.CustomAction event (Outlook)

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

Syntax

expression. CustomAction( _Action_ , _Response_ , _Cancel_ )

expression A variable that represents a ReportItem 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.

Remarks

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.

See also

ReportItem Object

[!includeSupport and feedback]