_Inspector Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see Inspector.

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

Top

Methods

  Name Description
Public method Activate Activates an inspector window by bringing it to the foreground and setting keyboard focus.
Public method Close Closes the Inspector and optionally saves changes to the displayed Outlook item.
Public method Display Displays a new Inspector object for the item.
Public method HideFormPage Hides a form page or form region in the inspector.
Public method IsWordMail Determines whether the mail message associated with an inspector is displayed in an Outlook Inspector or in Microsoft Word.
Public method NewFormRegion Opens a new page in design mode in the inspector for a new form region.
Public method OpenFormRegion Opens a page in design mode in the inspector for the specified form region.
Public method SaveFormRegion Saves the specified page in design mode in the inspector to the specified file.
Public method SetControlItemProperty Binds a built-in property or custom property to a control in an inspector.
Public method SetCurrentFormPage Displays the specified form page or form region in the 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.
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.

Top

See Also

Reference

_Inspector Interface

Microsoft.Office.Interop.Outlook Namespace