Modifica

Condividi tramite


_Explorer 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 Explorer.

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

Properties

AccountSelector

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

ActiveInlineResponse

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

ActiveInlineResponseWordEditor

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

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 current view of the explorer. 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.

CurrentFolder

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

CurrentView

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

Height

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

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.

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.

NavigationPane

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

Panes

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

Parent

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

Selection

Returns a Selection object consisting of one or more items selected in the current view. 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 explorer window from the edge of the screen. Read/write.

Views

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

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.

Methods

Activate()

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

AddToSelection(Object)

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

ClearSearch()

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

ClearSelection()

Cancels any selection in the active explorer.

Close()

Closes the Explorer object.

DeselectFolder(MAPIFolder)

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

Display()

Displays a new Explorer object for the folder.

IsFolderSelected(MAPIFolder)

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

IsItemSelectableInView(Object)

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

IsPaneVisible(OlPane)

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

RemoveFromSelection(Object)

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

Search(String, OlSearchScope)

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

SelectAllItems()

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

SelectFolder(MAPIFolder)

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

ShowPane(OlPane, Boolean)

Displays or hides a specific pane in the explorer.

Applies to