Partager via


Inspector Members

Include Protected Members
Include Inherited Members

Represents the window in which an Outlook item is displayed.

The Inspector type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _Inspector.)
Public property AttachmentSelection Obtains an AttachmentSelection object consisting of one or more attachments that are selected in the inspector. Read-only. (Inherited from _Inspector.)
Public property Caption Returns a String (string in C#) representing the title. Read-only. (Inherited from _Inspector.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _Inspector.)
Public property CommandBars This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Inspector.)
Public property CurrentItem Returns an Object representing the current item being displayed in the inspector. Read-only. (Inherited from _Inspector.)
Public property EditorType Returns an OlEditorType constant indicating the type of editor. Read-only. (Inherited from _Inspector.)
Public property Height Returns or sets an Integer (int in C#) value specifying the height (in pixels) of the inspector window. Read/write. (Inherited from _Inspector.)
Public property HTMLEditor This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Inspector.)
Public property 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.)
Public property ModifiedFormPages Returns the Pages collection that represents all the pages for the item in the inspector. Read-only. (Inherited from _Inspector.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _Inspector.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Inspector.)
Public property 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.)
Public property Width Returns or sets an Integer (int in C#) value indicating the width (in pixels) of the specified object. Read/write. (Inherited from _Inspector.)
Public property 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.)
Public property WordEditor Returns the Microsoft Word Document Object Model of the message being displayed. Read-only. (Inherited from _Inspector.)

Top

Methods

  Name Description
Public method Activate Activates an inspector window by bringing it to the foreground and setting keyboard focus. (Inherited from _Inspector.)
Public method Close Closes the Inspector and optionally saves changes to the displayed Outlook item. (Inherited from _Inspector.)
Public method Display Displays a new Inspector object for the item. (Inherited from _Inspector.)
Public method HideFormPage Hides a form page or form region in the inspector. (Inherited from _Inspector.)
Public method IsWordMail Determines whether the mail message associated with an inspector is displayed in an Outlook Inspector or in Microsoft Word. (Inherited from _Inspector.)
Public method NewFormRegion Opens a new page in design mode in the inspector for a new form region. (Inherited from _Inspector.)
Public method OpenFormRegion Opens a page in design mode in the inspector for the specified form region. (Inherited from _Inspector.)
Public method SaveFormRegion Saves the specified page in design mode in the inspector to the specified file. (Inherited from _Inspector.)
Public method SetControlItemProperty Binds a built-in property or custom property to a control in an inspector. (Inherited from _Inspector.)
Public method SetCurrentFormPage Displays the specified form page or form region in the inspector. (Inherited from _Inspector.)
Public method SetSchedulingStartTime Sets the start time for a meeting item in the free/busy grid on the Scheduling Assistant tab of the inspector. (Inherited from _Inspector.)
Public method ShowFormPage 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.)

Top

Events

  Name Description
Public event 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.)
Public event 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.)
Public event BeforeMaximize Occurs when an inspector is maximized by the user. (Inherited from InspectorEvents_10_Event.)
Public event BeforeMinimize Occurs when the active inspector is minimized by the user. (Inherited from InspectorEvents_10_Event.)
Public event BeforeMove Occurs when the Inspector is moved by the user. (Inherited from InspectorEvents_10_Event.)
Public event BeforeSize Occurs when the user sizes the current Inspector. (Inherited from InspectorEvents_10_Event.)
Public event Close Occurs when the inspector associated with a Microsoft Outlook item is being closed. (Inherited from InspectorEvents_10_Event.)
Public event 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.)
Public event PageChange Occurs when the active form page changes, either programmatically or by user action, on an Inspector object. (Inherited from InspectorEvents_10_Event.)

Top

See Also

Reference

Inspector Interface

Microsoft.Office.Interop.Outlook Namespace