_Inspector _Inspector _Inspector Interface

Definition

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.

public interface class _Inspector
[System.Runtime.InteropServices.Guid("00063005-0000-0000-C000-000000000046")]
public interface _Inspector
Public Interface _Inspector
Derived
Attributes

Properties

Application Application Application

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

AttachmentSelection AttachmentSelection AttachmentSelection

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

Caption Caption Caption

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

Class Class Class

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

CommandBars CommandBars CommandBars

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

CurrentItem CurrentItem CurrentItem

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

EditorType EditorType EditorType

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

Height Height Height

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

HTMLEditor HTMLEditor HTMLEditor

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

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.

ModifiedFormPages ModifiedFormPages ModifiedFormPages

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

Parent Parent Parent

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

Session Session Session

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

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.

Width Width Width

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

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.

WordEditor WordEditor WordEditor

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

Methods

Activate() Activate() Activate()

Activates an inspector window by bringing it to the foreground and setting keyboard focus.

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

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

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

Displays a new Inspector object for the item.

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

Hides a form page or form region in the inspector.

IsWordMail() IsWordMail() IsWordMail()

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

NewFormRegion() NewFormRegion() NewFormRegion()

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

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

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

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

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

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

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

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

Displays the specified form page or form region in the 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.

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.

Applies to