title | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|
TaskItem.Write event (Outlook) |
|
29e38bc5-6a19-5144-55ba-207215bd5734 |
06/08/2017 |
medium |
Occurs when an instance of the parent object is saved, either explicitly (for example, using the Save or SaveAs methods) or implicitly (for example, in response to a prompt when closing the item's inspector).
expression. Write
( _Cancel_
)
expression A variable that represents a TaskItem object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Cancel | Required | Boolean | (Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the save operation is not completed. |
In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the save operation is not completed.
[!includeSupport and feedback]