편집

다음을 통해 공유


Explorer Interface

Definition

Represents the window in which the contents of a folder are displayed.

public interface class Explorer : Microsoft::Office::Interop::Outlook::_Explorer, Microsoft::Office::Interop::Outlook::ExplorerEvents_10_Event
[System.Runtime.InteropServices.Guid("00063003-0000-0000-C000-000000000046")]
public interface Explorer : Microsoft.Office.Interop.Outlook._Explorer, Microsoft.Office.Interop.Outlook.ExplorerEvents_10_Event
Public Interface Explorer
Implements _Explorer, ExplorerEvents_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 _Explorer. For information about the event members of the COM object, see ExplorerEvents_10_Event.

Use the Item[Object] property (this in C#) of the Explorers object to return the object representing a specific explorer.

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

Use the GetExplorer method to return the Explorer object associated with a folder.

Use the Display() method of a Folder object to display a folder in its associated explorer.

Properties

AccountSelector

Returns an AccountSelector object that represents the Microsoft Office Backstage view for the Explorerobject. Read-only.

(Inherited from _Explorer)
ActiveInlineResponse

Returns an item object representing the active inline response item in the explorer reading pane. Read-only.

(Inherited from _Explorer)
ActiveInlineResponseWordEditor

Returns the Word Document object of the active inline response that is displayed in the explorer Reading Pane. Read-only.

(Inherited from _Explorer)
Application

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

(Inherited from _Explorer)
AttachmentSelection

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

(Inherited from _Explorer)
Caption

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

(Inherited from _Explorer)
Class

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

(Inherited from _Explorer)
CommandBars

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

(Inherited from _Explorer)
CurrentFolder

Returns or sets a Folder object that represents the current folder displayed in the explorer. Read/write.

(Inherited from _Explorer)
CurrentView

Returns or sets an Object representing the current view. Read/write.

(Inherited from _Explorer)
Height

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

(Inherited from _Explorer)
HTMLDocument

Returns an HTMLDocument object that specifies the HTML object model associated with the HTML document in the current view (assuming one exists). Read-only.

(Inherited from _Explorer)
Left

Returns or sets an Integer (int in C#) value specifying the position (in pixels) of the left vertical edge of an explorer window from the edge of the screen. Read/write.

(Inherited from _Explorer)
NavigationPane

Returns a NavigationPane object that represents the Navigation Pane for an Explorer object. Read-only.

(Inherited from _Explorer)
Panes

Returns a Panes collection object representing the panes displayed by the specified explorer.

(Inherited from _Explorer)
Parent

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

(Inherited from _Explorer)
Selection

Returns a Selection object consisting of one or more items selected in the current view. Read-only.

(Inherited from _Explorer)
Session

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

(Inherited from _Explorer)
Top

Returns or sets an Integer (int in C#) value indicating the position (in pixels) of the top horizontal edge of an explorer window from the edge of the screen. Read/write.

(Inherited from _Explorer)
Views

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

(Inherited from _Explorer)
Width

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

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

Methods

AddToSelection(Object)

Adds the specified Microsoft Outlook item to the selection in the active explorer.

(Inherited from _Explorer)
ClearSearch()

Clears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer.

(Inherited from _Explorer)
ClearSelection()

Cancels any selection in the active explorer.

(Inherited from _Explorer)
DeselectFolder(MAPIFolder)

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

(Inherited from _Explorer)
Display()

Displays a new Explorer object for the folder.

(Inherited from _Explorer)
IsFolderSelected(MAPIFolder)

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

(Inherited from _Explorer)
IsItemSelectableInView(Object)

Returns a value that indicates whether the specified Microsoft Outlook item can be selected in the current view of the active explorer.

(Inherited from _Explorer)
IsPaneVisible(OlPane)

Returns a Boolean (bool in C#) indicating whether a specific explorer pane is visible.

(Inherited from _Explorer)
RemoveFromSelection(Object)

Cancels the selection of the specified Microsoft Outlook item in the active explorer.

(Inherited from _Explorer)
Search(String, OlSearchScope)

Performs a Microsoft Instant Search on the current folder displayed in the Explorer using the given Query.

(Inherited from _Explorer)
SelectAllItems()

Selects all items that are contained in the current view of the active explorer.

(Inherited from _Explorer)
SelectFolder(MAPIFolder)

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

(Inherited from _Explorer)
ShowPane(OlPane, Boolean)

Displays or hides a specific pane in the explorer.

(Inherited from _Explorer)

Events

Activate

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

(Inherited from ExplorerEvents_10_Event)
AttachmentSelectionChange

Occurs when the user selects a different or additional attachment in the active explorer programmatically or by interacting with the user interface.

(Inherited from ExplorerEvents_10_Event)
BeforeFolderSwitch

Occurs before the explorer goes to a new folder, either as a result of user action or through program code.

(Inherited from ExplorerEvents_10_Event)
BeforeItemCopy

Occurs when an Outlook item is copied.

(Inherited from ExplorerEvents_10_Event)
BeforeItemCut

Occurs when an Outlook item is cut from a folder.

(Inherited from ExplorerEvents_10_Event)
BeforeItemPaste

Occurs when an Outlook item is pasted.

(Inherited from ExplorerEvents_10_Event)
BeforeMaximize

Occurs when an explorer is maximized by the user.

(Inherited from ExplorerEvents_10_Event)
BeforeMinimize

Occurs when the active explorer is minimized by the user.

(Inherited from ExplorerEvents_10_Event)
BeforeMove

Occurs when the Explorer is moved by the user.

(Inherited from ExplorerEvents_10_Event)
BeforeSize

Occurs when the user sizes the current Explorer.

(Inherited from ExplorerEvents_10_Event)
BeforeViewSwitch

Occurs before the explorer changes to a new view, either as a result of user action or through program code.

(Inherited from ExplorerEvents_10_Event)
Close

Occurs when an explorer is being closed.

(Inherited from ExplorerEvents_10_Event)
Deactivate

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

(Inherited from ExplorerEvents_10_Event)
FolderSwitch

Occurs when the explorer goes to a new folder, either as a result of user action or through program code.

(Inherited from ExplorerEvents_10_Event)
InlineResponse

Occurs when the user performs an action that causes an inline response to appear in the Reading Pane.

(Inherited from ExplorerEvents_10_Event)
InlineResponseClose

Occurs when the user performs an action that causes the active inline response to close in the Reading Pane.

(Inherited from ExplorerEvents_10_Event)
SelectionChange

Occurs when the user switches to a different item in a folder using the user interface (UI) or programmatically.

(Inherited from ExplorerEvents_10_Event)
ViewSwitch

Occurs when the view in the explorer changes, either as a result of user action or through program code.

(Inherited from ExplorerEvents_10_Event)

Applies to