GetInspector Property
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

_MailItem.GetInspector Property

Returns an Inspector object that represents an inspector initialized to contain the specified item. Read-only.

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

<DispIdAttribute()> _
ReadOnly Property GetInspector As Inspector
Dim instance As _MailItem
Dim value As Inspector

value = instance.GetInspector

This property is useful for returning a new Inspector object in which to display the item, as opposed to using the _Application.ActiveInspector method and setting the _Inspector.CurrentItem property.

© 2016 Microsoft