Modifica

Condividi tramite


_Explorers.Add(Object, OlFolderDisplayMode) Method

Definition

Creates a new instance of the explorer window.

public Microsoft.Office.Interop.Outlook.Explorer Add (object Folder, Microsoft.Office.Interop.Outlook.OlFolderDisplayMode DisplayMode);
Public Function Add (Folder As Object, Optional DisplayMode As OlFolderDisplayMode) As Explorer

Parameters

Folder
Object

The object to display in the explorer window when it is created.

DisplayMode
OlFolderDisplayMode

The display mode of the folder. Can be one of the OlFolderDisplayMode constants.

Returns

An Explorer object that represents a new instance of the window.

Remarks

The Folder argument can represent either a Folder object or the URL to that folder.

The explorer window is initially hidden. You must call the Display() method of the Explorer object to make it visible.

Applies to