GetInspector Property
TOC
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)

'Declaration
<DispIdAttribute()> _
ReadOnly Property GetInspector As Inspector
	Get
'Usage
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.

Show:
© 2016 Microsoft