_Application.ActiveInspector method

Returns the topmost Inspector object on the desktop.

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

Inspector ActiveInspector()

Return value

Type: Microsoft.Office.Interop.Outlook.Inspector
An Inspector that represents the topmost inspector on the desktop.

Use this method to access the Inspector object that the user is most likely to be viewing.

If no inspector is active, returns Nothing.