ExplorerEvents_10_Event.BeforeFolderSwitch Event

Occurs before the explorer goes to a new folder, either as a result of user action or through program code.

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

event ExplorerEvents_10_BeforeFolderSwitchEventHandler BeforeFolderSwitch

If the folder being switched to is in a namespace that doesn’t support automation (such as the file system), NewFolder is Nothing.