_NoteItem.Display Method

Displays a new Inspector object for the item.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub Display ( _
    Modal As Object _
)
'Usage
Dim instance As _NoteItem
Dim Modal As Object

instance.Display(Modal)
[DispIdAttribute()]
void Display(
    Object Modal
)

Parameters

  • Modal
    Type: System.Object

    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

Reference

_NoteItem Interface

_NoteItem Members

Microsoft.Office.Interop.Outlook Namespace