Partager via


_Inspector.CurrentItem Property

Returns an Object representing the current item being displayed in the inspector. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property CurrentItem As Object
    Get
'Usage
Dim instance As _Inspector
Dim value As Object

value = instance.CurrentItem
[DispIdAttribute()]
Object CurrentItem { get; }

Property Value

Type: System.Object

Remarks

If no item is currently open, an error message will be returned.

See Also

Reference

_Inspector Interface

_Inspector Members

Microsoft.Office.Interop.Outlook Namespace