Folder Members

Include Protected Members
Include Inherited Members

Represents an Outlook folder.

The Folder type exposes the following members.

Properties

 

Name

Description

Public property

AddressBookName

Returns or sets a String (string in C#) that indicates the Address Book name for the Folder object representing a Contacts folder. Read/write. (Inherited from MAPIFolder.)

Public property

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from MAPIFolder.)

Public property

Class

Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from MAPIFolder.)

Public property

CurrentView

Returns a View object representing the current view. Read-only. (Inherited from MAPIFolder.)

Public property

CustomViewsOnly

Returns or sets a Boolean (bool in C#) that determines which views are displayed on the View menu for a given folder. Read/write. (Inherited from MAPIFolder.)

Public property

DefaultItemType

Returns a constant from the OlItemType enumeration indicating the default Outlook item type contained in the folder. Read-only. (Inherited from MAPIFolder.)

Public property

DefaultMessageClass

Returns a String (string in C#) representing the default message class for items in the folder. Read-only. (Inherited from MAPIFolder.)

Public property

Description

Returns or sets a String (string in C#) representing the description of the folder. Read/write. (Inherited from MAPIFolder.)

Public property

EntryID

Returns a String (string in C#) representing the unique Entry ID of the object. Read-only. (Inherited from MAPIFolder.)

Public property

FolderPath

Returns a String (string in C#) that indicates the path of the current folder. Read-only. (Inherited from MAPIFolder.)

Public property

Folders

Returns the Folders collection that represents all the folders contained in the specified Folder. Read-only. (Inherited from MAPIFolder.)

Public property

FullFolderPath

This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from MAPIFolder.)

Public property

InAppFolderSyncObject

Returns or sets a Boolean (bool in C#) that determines if the specified folder will be synchronized with the e-mail server. Read/write. (Inherited from MAPIFolder.)

Public property

IsSharePointFolder

Returns a Boolean (bool in C#) that determines if the folder is a Microsoft Windows SharePoint Services folder. Read-only. (Inherited from MAPIFolder.)

Public property

Items

Returns an Items collection object as a collection of Outlook items in the specified folder. Read-only. (Inherited from MAPIFolder.)

Public property

MAPIOBJECT

This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from MAPIFolder.)

Public property

Name

Returns or sets the display name for the object. Read/write. (Inherited from MAPIFolder.)

Public property

Parent

Returns the parent Object of the specified object. Read-only. (Inherited from MAPIFolder.)

Public property

PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Folder object. Read-only. (Inherited from MAPIFolder.)

Public property

Session

Returns the NameSpace object for the current session. Read-only. (Inherited from MAPIFolder.)

Public property

ShowAsOutlookAB

Returns or sets a Boolean variable (bool in C#) that specifies whether the contact items folder will be displayed as an address list in the Outlook Address Book. Read/write. (Inherited from MAPIFolder.)

Public property

ShowItemCount

Sets or returns a constant in the OlShowItemCount enumeration that indicates whether to display the number of unread messages in the folder or the total number of items in the folder in the Navigation Pane. Read/write. (Inherited from MAPIFolder.)

Public property

Store

Returns a Store object representing the store that contains the Folder object. Read-only. (Inherited from MAPIFolder.)

Public property

StoreID

Returns a String (string in C#) indicating the store ID for the folder. Read-only. (Inherited from MAPIFolder.)

Public property

UnReadItemCount

Returns an Integer (int in C#) value indicating the number of unread items in the folder. Read-only. (Inherited from MAPIFolder.)

Public property

UserDefinedProperties

Returns a UserDefinedProperties object that represents the user-defined custom properties for the Folder object. Read-only. (Inherited from MAPIFolder.)

Public property

UserPermissions

This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from MAPIFolder.)

Public property

Views

Returns the Views collection object of the Folder object. Read-only. (Inherited from MAPIFolder.)

Public property

WebViewAllowNavigation

This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from MAPIFolder.)

Public property

WebViewOn

Returns or sets a Boolean (bool in C#) indicating the Web view state for a folder. Read/write. (Inherited from MAPIFolder.)

Public property

WebViewURL

Returns or sets a String (string in C#) indicating the URL of the Web page that is assigned to a folder. Read/write. (Inherited from MAPIFolder.)

Top

Methods

 

Name

Description

Public method

add_BeforeFolderMove

(Inherited from MAPIFolderEvents_12_Event.)

Public method

add_BeforeItemMove

(Inherited from MAPIFolderEvents_12_Event.)

Public method

AddToFavorites

This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from MAPIFolder.)

Public method

AddToPFFavorites

Adds a Microsoft Exchange public folder to the public folder's Favorites folder. (Inherited from MAPIFolder.)

Public method

CopyTo

Copies the current folder in its entirety to the destination folder. (Inherited from MAPIFolder.)

Public method

Delete

Deletes an object from the collection. (Inherited from MAPIFolder.)

Public method

Display

Displays a new Explorer object for the folder. (Inherited from MAPIFolder.)

Public method

GetCalendarExporter

Creates a CalendarSharing object for the specified Folder. (Inherited from MAPIFolder.)

Public method

GetExplorer

Returns an Explorer object that represents a new, inactive Explorer object initialized with the specified folder as the current folder. (Inherited from MAPIFolder.)

Public method

GetStorage

Gets a StorageItem object on the parent Folder to store data for an Outlook solution. (Inherited from MAPIFolder.)

Public method

GetTable

Obtains a Table object that contains items filtered by Filter. (Inherited from MAPIFolder.)

Public method

MoveTo

Moves a folder to the specified destination folder. (Inherited from MAPIFolder.)

Public method

remove_BeforeFolderMove

(Inherited from MAPIFolderEvents_12_Event.)

Public method

remove_BeforeItemMove

(Inherited from MAPIFolderEvents_12_Event.)

Top

Events

 

Name

Description

Public event

BeforeFolderMove

Occurs when a folder is about to be moved or deleted, either as a result of user action or through program code. (Inherited from MAPIFolderEvents_12_Event.)

Public event

BeforeItemMove

Occurs when an item is about to be moved or deleted from a folder, either as a result of user action or through program code. (Inherited from MAPIFolderEvents_12_Event.)

Top

See Also

Reference

Folder Interface

Microsoft.Office.Interop.Outlook Namespace