Modifica

Condividi tramite


_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

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

AttachmentSelection

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

Caption

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

Class

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

CommandBars

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

CurrentItem

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

EditorType

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

Height

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

HTMLEditor

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

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

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

Parent

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

Session

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

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

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

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

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

Methods

Activate()

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

Close(OlInspectorClose)

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

Display(Object)

Displays a new Inspector object for the item.

HideFormPage(String)

Hides a form page or form region in the inspector.

IsWordMail()

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

NewFormRegion()

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

OpenFormRegion(String)

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

SaveFormRegion(Object, String)

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

SetControlItemProperty(Object, String)

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

SetCurrentFormPage(String)

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

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)

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