Share via


OlkTimeZoneControlEvents_Event.BeforeUpdate Event

Occurs when the data in the control is changed through the user interface and is about to be saved to the item.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event BeforeUpdate As OlkTimeZoneControlEvents_BeforeUpdateEventHandler
'Usage
Dim instance As OlkTimeZoneControlEvents_Event
Dim handler As OlkTimeZoneControlEvents_BeforeUpdateEventHandler

AddHandler instance.BeforeUpdate, handler
event OlkTimeZoneControlEvents_BeforeUpdateEventHandler BeforeUpdate

Remarks

Canceling this property will revert the control to the current value of the property and return the focus to the control.

BeforeUpdate and AfterUpdate can occur any time the data in the control is being saved to the item. The typical sequence of events involving AfterUpdate for this control is as follows:

  1. User focuses on the control

  2. BeforeUpdate occurs

  3. Control data is updated

  4. AfterUpdate occurs

  5. Exit occurs: User moves focus away from control

See Also

Reference

OlkTimeZoneControlEvents_Event Interface

OlkTimeZoneControlEvents_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.OlkTimeZoneControlEvents_BeforeUpdateEventHandler