Partager via


_Explorers.Add Method

Creates a new instance of the explorer window.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function Add ( _
    Folder As Object, _
    DisplayMode As OlFolderDisplayMode _
) As Explorer
'Usage
Dim instance As _Explorers
Dim Folder As Object
Dim DisplayMode As OlFolderDisplayMode
Dim returnValue As Explorer

returnValue = instance.Add(Folder, DisplayMode)
[DispIdAttribute()]
Explorer Add(
    Object Folder,
    OlFolderDisplayMode DisplayMode
)

Parameters

  • Folder
    Type: System.Object

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

Return Value

Type: Microsoft.Office.Interop.Outlook.Explorer
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.

See Also

Reference

_Explorers Interface

_Explorers Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Open and Display the Contents of an iCalendar File

How to: Search and Obtain Items in an Aggregated View