次の方法で共有


Inspector Interface

Represents the window in which an Outlook item is displayed.

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

Syntax

'Declaration
<GuidAttribute("00063005-0000-0000-C000-000000000046")> _
<CoClassAttribute(GetType(InspectorClass))> _
Public Interface Inspector _
    Inherits _Inspector, InspectorEvents_10_Event
'Usage
Dim instance As Inspector
[GuidAttribute("00063005-0000-0000-C000-000000000046")]
[CoClassAttribute(typeof(InspectorClass))]
public interface Inspector : _Inspector, 
    InspectorEvents_10_Event

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Inspector. For information about the event members of the COM object, see InspectorEvents_10_Event.

Use the ActiveInspector method to return the object representing the currently active inspector (if there is one).

Use the GetInspector property of an item to return the Inspector object associated with an item.

Use the Display method to display an item in its associated inspector.

See Also

Reference

Inspector Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Implement a Wrapper for Inspectors and Track Item-Level Events in Each Inspector