Partager via


_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)

Syntax

'Declaration
<DispIdAttribute()> _
Function ActiveInspector As Inspector
'Usage
Dim instance As _Application
Dim returnValue As Inspector

returnValue = instance.ActiveInspector()
[DispIdAttribute()]
Inspector ActiveInspector()

Return Value

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

Remarks

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

If no inspector is active, returns Nothing.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Outlook Namespace