Inspector Inspector Inspector Interface

Definition

Represents the window in which an Outlook item is displayed.

public interface class Inspector : Microsoft::Office::Interop::Outlook::_Inspector, Microsoft::Office::Interop::Outlook::InspectorEvents_10_Event
[System.Runtime.InteropServices.Guid("00063005-0000-0000-C000-000000000046")]
public interface Inspector : Microsoft.Office.Interop.Outlook._Inspector, Microsoft.Office.Interop.Outlook.InspectorEvents_10_Event
Public Interface Inspector
Implements _Inspector, InspectorEvents_10_Event
Derived
Attributes
Implements

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.

Properties

Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _Inspector)

AttachmentSelection AttachmentSelection AttachmentSelection

Obtains an AttachmentSelection object consisting of one or more attachments that are selected in the inspector. Read-only.

(Inherited from _Inspector)

Caption Caption Caption

Returns a String (string in C#) representing the title. Read-only.

(Inherited from _Inspector)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _Inspector)

CommandBars CommandBars CommandBars

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Inspector)

CurrentItem CurrentItem CurrentItem

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

(Inherited from _Inspector)

EditorType EditorType EditorType

Returns an OlEditorType constant indicating the type of editor. Read-only.

(Inherited from _Inspector)

Height Height Height

Returns or sets an Integer (int in C#) value specifying the height (in pixels) of the inspector window. Read/write.

(Inherited from _Inspector)

HTMLEditor HTMLEditor HTMLEditor

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Inspector)

Left Left Left

Returns or sets an Integer (int in C#) value specifying the position (in pixels) of the left vertical edge of an inspector window from the edge of the screen. Read/write.

(Inherited from _Inspector)

ModifiedFormPages ModifiedFormPages ModifiedFormPages

Returns the Pages collection that represents all the pages for the item in the inspector. Read-only.

(Inherited from _Inspector)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _Inspector)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _Inspector)

Top Top Top

Returns or sets an Integer (int in C#) value indicating the position (in pixels) of the top horizontal edge of an inspector window from the edge of the screen. Read/write.

(Inherited from _Inspector)

Width Width Width

Returns or sets an Integer (int in C#) value indicating the width (in pixels) of the specified object. Read/write.

(Inherited from _Inspector)

WindowState WindowState WindowState

Returns or sets the property with a constant in the OlWindowState enumeration specifying the window state of an explorer or inspector window. Read/write.

(Inherited from _Inspector)

WordEditor WordEditor WordEditor

Returns the Microsoft Word Document Object Model of the message being displayed. Read-only.

(Inherited from _Inspector)

Methods

Close(OlInspectorClose) Close(OlInspectorClose) Close(OlInspectorClose)

Closes the Inspector and optionally saves changes to the displayed Outlook item.

(Inherited from _Inspector)

Display(Object) Display(Object) Display(Object)

Displays a new Inspector object for the item.

(Inherited from _Inspector)

HideFormPage(String) HideFormPage(String) HideFormPage(String)

Hides a form page or form region in the inspector.

(Inherited from _Inspector)

IsWordMail() IsWordMail() IsWordMail()

Determines whether the mail message associated with an inspector is displayed in an Outlook Inspector or in Microsoft Word.

(Inherited from _Inspector)

NewFormRegion() NewFormRegion() NewFormRegion()

Opens a new page in design mode in the inspector for a new form region.

(Inherited from _Inspector)

OpenFormRegion(String) OpenFormRegion(String) OpenFormRegion(String)

Opens a page in design mode in the inspector for the specified form region.

(Inherited from _Inspector)

SaveFormRegion(Object, String) SaveFormRegion(Object, String) SaveFormRegion(Object, String)

Saves the specified page in design mode in the inspector to the specified file.

(Inherited from _Inspector)

SetControlItemProperty(Object, String) SetControlItemProperty(Object, String) SetControlItemProperty(Object, String)

Binds a built-in property or custom property to a control in an inspector.

(Inherited from _Inspector)

SetCurrentFormPage(String) SetCurrentFormPage(String) SetCurrentFormPage(String)

Displays the specified form page or form region in the inspector.

(Inherited from _Inspector)

SetSchedulingStartTime(DateTime) SetSchedulingStartTime(DateTime) SetSchedulingStartTime(DateTime)

Sets the start time for a meeting item in the free/busy grid on the Scheduling Assistant tab of the inspector.

(Inherited from _Inspector)

ShowFormPage(String) ShowFormPage(String) ShowFormPage(String)

Displays a button in the Show group of the Microsoft Office Fluent ribbon for the inspector, clicking which will show the page or form region specified by PageName.

(Inherited from _Inspector)

Events

Activate Activate Activate

Occurs when an inspector becomes the active window, either as a result of user action or through program code.

(Inherited from InspectorEvents_10_Event)

AttachmentSelectionChange AttachmentSelectionChange AttachmentSelectionChange

Occurs when the user selects a different or additional attachment of an item in the active inspector programmatically or by interacting with the user interface.

(Inherited from InspectorEvents_10_Event)

BeforeMaximize BeforeMaximize BeforeMaximize

Occurs when an inspector is maximized by the user.

(Inherited from InspectorEvents_10_Event)

BeforeMinimize BeforeMinimize BeforeMinimize

Occurs when the active inspector is minimized by the user.

(Inherited from InspectorEvents_10_Event)

BeforeMove BeforeMove BeforeMove

Occurs when the Inspector is moved by the user.

(Inherited from InspectorEvents_10_Event)

BeforeSize BeforeSize BeforeSize

Occurs when the user sizes the current Inspector.

(Inherited from InspectorEvents_10_Event)

Close Close Close

Occurs when the inspector associated with a Microsoft Outlook item is being closed.

(Inherited from InspectorEvents_10_Event)

Deactivate Deactivate Deactivate

Occurs when an inspector stops being the active window, either as a result of user action or through program code.

(Inherited from InspectorEvents_10_Event)

PageChange PageChange PageChange

Occurs when the active form page changes, either programmatically or by user action, on an Inspector object.

(Inherited from InspectorEvents_10_Event)

Applies to