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)
Syntax
'Declaration
Event BeforeFolderSwitch As ExplorerEvents_10_BeforeFolderSwitchEventHandler
'Usage
Dim instance As ExplorerEvents_10_Event
Dim handler As ExplorerEvents_10_BeforeFolderSwitchEventHandler
AddHandler instance.BeforeFolderSwitch, handler
event ExplorerEvents_10_BeforeFolderSwitchEventHandler BeforeFolderSwitch
Remarks
If the folder being switched to is in a namespace that doesn’t support automation (such as the file system), NewFolder is Nothing.
See Also
Reference
ExplorerEvents_10_Event Interface
ExplorerEvents_10_Event Members
Microsoft.Office.Interop.Outlook Namespace
Microsoft.Office.Interop.Outlook.ExplorerEvents_10_BeforeFolderSwitchEventHandler