This documentation is archived and is not being maintained.

Application.BeforeFolderSharingDialog Event

Office 2007
Occurs before the Sharing dialog box is displayed for a selected Folder object.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.BeforeFolderSharingDialog(FolderToShare, Cancel)

expression   An expression that returns a Application object.

Parameters

NameRequired/OptionalData TypeDescription
FolderToShareRequiredFolderThe Folder object to be shared.
CancelRequiredBoolean(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the dialog box is not displayed.

Remarks

This event provides an add-in with the capability of replacing the sharing user interface supplied by Outlook with a custom user interface. This event does not occur if a sharing message is programmatically created and displayed.




Show: