ExplorerEvents_10.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_10
Dim NewFolder As Object
Dim Cancel As Boolean
instance.BeforeFolderSwitch(NewFolder, _
Cancel)
[DispIdAttribute()]
void BeforeFolderSwitch(
Object NewFolder,
out bool Cancel
)
Parameters
- NewFolder
Type: System.Object
- Cancel
Type: System.Boolean