Partager via


SharingItem.Open Event (Outlook)

Occurs when an instance of the parent object is being opened in an Inspector.

Version Information

Version Added: Outlook 2007

Syntax

expression .Open(Cancel)

expression An expression that returns a SharingItem object.

Parameters

Name

Required/Optional

Data Type

Description

Cancel

Required

Boolean

(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the open operation is not completed and the inspector is not displayed.

Remarks

When this event occurs, the Inspector object is initialized but not yet displayed. The Open event differs from the Read event in that Read occurs whenever the user selects the item in a view that supports in-cell editing as well as when the item is being opened in an inspector.

In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the open operation is not completed and the inspector is not displayed.

See Also

Concepts

SharingItem Object Members

SharingItem Object