Folders Interface

Contains a set of Folder objects that represent all the available Outlook folders in a specific subset at one level of the folder tree.

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

Syntax

'Declaration
<GuidAttribute("00063040-0000-0000-C000-000000000046")> _
<CoClassAttribute(GetType(FoldersClass))> _
Public Interface Folders _
    Inherits _Folders, FoldersEvents_Event
'Usage
Dim instance As Folders
[GuidAttribute("00063040-0000-0000-C000-000000000046")]
[CoClassAttribute(typeof(FoldersClass))]
public interface Folders : _Folders, 
    FoldersEvents_Event

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Folders. For information about the event members of the COM object, see FoldersEvents_Event.

Use the Folders property to return the Folders object from a NameSpace object or another Folder object.

Use Folders(index), where index is the name or index number, to return a single Folder object. Folder names are case-sensitive.

See Also

Reference

Folders Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Custom Contact Item

How to: Add a Folder to the Folder List

How to: Enumerate Folders

How to: Get a Default Folder and Enumerate Its Subfolders