MobileItem.Write Event (Outlook)
Occurs when an instance of the parent object is saved, either explicitly (for example, using the Save or SaveAs method) or implicitly (for example, in response to a prompt when the user closes the item's inspector).
Version Information
Version Added: Outlook 2010
Syntax
expression .Write(Cancel, )
expression A variable that represents a MobileItem object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Cancel |
Required |
Boolean |
(Not used in Microsoft Visual Basic Scripting Edition (VBScript).) False when the event occurs. If the event procedure sets this argument to True, the save operation is not completed. |
Remarks
In VBScript, if you set the return value of this function to False, the save operation is not completed.