Edit

Share via


StoresEvents_12_Event.BeforeStoreRemove Event

Definition

Occurs when a Store is about to be removed from the current session either programmatically or through user action.

public:
 event Microsoft::Office::Interop::Outlook::StoresEvents_12_BeforeStoreRemoveEventHandler ^ BeforeStoreRemove;
event Microsoft.Office.Interop.Outlook.StoresEvents_12_BeforeStoreRemoveEventHandler BeforeStoreRemove;
Event BeforeStoreRemove As StoresEvents_12_BeforeStoreRemoveEventHandler 

Event Type

Remarks

Outlook must be running in order for this event to fire. This event will fire when any of the following occurs:

This event will not fire when any of the following occurs:

You can use this event to determine that a store has been removed, and take appropriate actions if the store is required for your application (such as remounting the store). Otherwise you would have to resort to polling the Stores collection.

Applies to