PostItem.Display method (Outlook)
Displays a new Inspector object for the item.
Syntax
expression. Display
( _Modal_
)
expression A variable that represents a PostItem object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Modal | Optional | Variant | True to make the window modal. The default value is False. |
Remarks
The Display method is supported for explorer and inspector windows for the sake of backward compatibility. To activate an explorer or inspector window, use the Activate method.
If you attempt to open an "unsafe" file system object (or "freedoc" file) by using the Microsoft Outlook object model, you receive the E_FAIL return code in the C or C++ programming languages. In Outlook 2000 and earlier, you could open an "unsafe" file system object by using the Display method.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.