次の方法で共有


Inspector Members (Outlook)

Represents the window in which an Outlook item is displayed.

Methods

Name

Description

Activate

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

Close

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

Display

Displays a new Inspector object for the item.

HideFormPage

Hides a form page 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

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

SaveFormRegion

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

SetControlItemProperty

Binds an Outlook object model property to a control in an inspector.

SetCurrentFormPage

Displays the specified form page in the inspector.

SetSchedulingStartTime

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

ShowFormPage

Shows a form page in the inspector.

Properties

Name

Description

Application

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

AttachmentSelection

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

Caption

Returns a String representing the title. Read-only.

Class

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

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 a Long specifying the height (in pixels) of the inspector window. Read/write.

Left

Returns or sets a Long 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 a Long 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 a Long 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.

Events

Name

Description

Activate

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

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.

BeforeMaximize

Occurs when an inspector is maximized by the user.

BeforeMinimize

Occurs when the active inspector is minimized by the user.

BeforeMove

Occurs when the Inspector is moved by the user.

BeforeSize

Occurs when the user sizes the current Inspector.

Close

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

Deactivate

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

PageChange

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