Share via


ExplorerEvents.BeforeFolderSwitch Method

This is a member in an event interface in a COM coclass. It is not intended to be used in your code.

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

Syntax

'Declaration
<DispIdAttribute()> _
Sub BeforeFolderSwitch ( _
    NewFolder As Object, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As ExplorerEvents
Dim NewFolder As Object
Dim Cancel As Boolean

instance.BeforeFolderSwitch(NewFolder, _
    Cancel)
[DispIdAttribute()]
void BeforeFolderSwitch(
    Object NewFolder,
    out bool Cancel
)

Parameters

See Also

Reference

ExplorerEvents Interface

ExplorerEvents Members

Microsoft.Office.Interop.Outlook Namespace