_NameSpace.PickFolder Method

Displays the Pick Folder dialog box.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function PickFolder As MAPIFolder
'Usage
Dim instance As _NameSpace
Dim returnValue As MAPIFolder

returnValue = instance.PickFolder()
[DispIdAttribute()]
MAPIFolder PickFolder()

Return Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder
A Folder object that represents the folder that the user selects in the dialog box, or Nothing if the dialog box is canceled by the user.

Remarks

The Pick Folder dialog box is a modal dialog box which means that code execution will not continue until the user either selects a folder or cancels the dialog box.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Select a Folder and Display Folder Information