Edit

Share via


_NameSpace.PickFolder Method

Definition

Displays the Pick Folder dialog box.

public:
 Microsoft::Office::Interop::Outlook::MAPIFolder ^ PickFolder();
public Microsoft.Office.Interop.Outlook.MAPIFolder PickFolder ();
Public Function PickFolder () As MAPIFolder

Returns

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.

Applies to