Modifica

Condividi tramite


Inspector Interface

Definition

Represents the window in which an Outlook item is displayed.

public interface class Inspector : Microsoft::Office::Interop::Outlook::_Inspector, Microsoft::Office::Interop::Outlook::InspectorEvents_10_Event
[System.Runtime.InteropServices.Guid("00063005-0000-0000-C000-000000000046")]
public interface Inspector : Microsoft.Office.Interop.Outlook._Inspector, Microsoft.Office.Interop.Outlook.InspectorEvents_10_Event
Public Interface Inspector
Implements _Inspector, InspectorEvents_10_Event
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Inspector. For information about the event members of the COM object, see InspectorEvents_10_Event.

Use the ActiveInspector() method to return the object representing the currently active inspector (if there is one).

Use the GetInspector property of an item to return the Inspector object associated with an item.

Use the Display method to display an item in its associated inspector.

Properties

Application

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

(Inherited from _Inspector)
AttachmentSelection

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

(Inherited from _Inspector)
Caption

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

(Inherited from _Inspector)
Class

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

(Inherited from _Inspector)
CommandBars

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

(Inherited from _Inspector)
CurrentItem

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

(Inherited from _Inspector)
EditorType

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

(Inherited from _Inspector)
Height

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

(Inherited from _Inspector)
HTMLEditor

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

(Inherited from _Inspector)
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)
ModifiedFormPages

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

(Inherited from _Inspector)
Parent

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

(Inherited from _Inspector)
Session

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

(Inherited from _Inspector)
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)
Width

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

(Inherited from _Inspector)
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)
WordEditor

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

(Inherited from _Inspector)

Methods

Close(OlInspectorClose)

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

(Inherited from _Inspector)
Display(Object)

Displays a new Inspector object for the item.

(Inherited from _Inspector)
HideFormPage(String)

Hides a form page or form region in the inspector.

(Inherited from _Inspector)
IsWordMail()

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

(Inherited from _Inspector)
NewFormRegion()

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

(Inherited from _Inspector)
OpenFormRegion(String)

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

(Inherited from _Inspector)
SaveFormRegion(Object, String)

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

(Inherited from _Inspector)
SetControlItemProperty(Object, String)

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

(Inherited from _Inspector)
SetCurrentFormPage(String)

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

(Inherited from _Inspector)
SetSchedulingStartTime(DateTime)

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

(Inherited from _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.

(Inherited from _Inspector)

Events

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)
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)
BeforeMaximize

Occurs when an inspector is maximized by the user.

(Inherited from InspectorEvents_10_Event)
BeforeMinimize

Occurs when the active inspector is minimized by the user.

(Inherited from InspectorEvents_10_Event)
BeforeMove

Occurs when the Inspector is moved by the user.

(Inherited from InspectorEvents_10_Event)
BeforeSize

Occurs when the user sizes the current Inspector.

(Inherited from InspectorEvents_10_Event)
Close

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

(Inherited from InspectorEvents_10_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)
PageChange

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

(Inherited from InspectorEvents_10_Event)

Applies to