Partilhar via


Work with folders

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The MAPIFolder class contains the methods and properties you use to access, create, and customize folders.

Task Procedure
Search for strings in the subject field of messages in the Inbox. How to: Programmatically search within a specific folder
Get a reference to a folder and display the contents. How to: Programmatically retrieve a folder by name
Create a folder that displays a Web page in the Preview pane. How to: Programmatically associate a web page with an Outlook folder
Create a folder that has the current user ID for a name. How to: Programmatically create custom folder items
Move messages that match certain criteria to a specified folder. How to: Programmatically move items in Outlook

For more information about Outlook tasks and the Outlook object model, see Outlook object model overview.

See also