Application.BeforeFolderSharingDialog Event

Outlook Developer Reference

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

Name Required/Optional Data Type Description
FolderToShare Required Folder The Folder object to be shared.
Cancel Required Boolean (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.

See Also