MAPIFolder MAPIFolder MAPIFolder Interface

Definition

This interface is deprecated; do not use this interface. Instead use the interface Folder to access all method, property, and event members of the COM object Folder. Refer to this topic for information about the method and property members of the COM object. For information about the event members of the COM object, see MAPIFolderEvents_12_Event.

public interface class MAPIFolder
[System.Runtime.InteropServices.Guid("00063006-0000-0000-C000-000000000046")]
public interface MAPIFolder
Public Interface MAPIFolder
Derived
Attributes

Properties

AddressBookName AddressBookName 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.

Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

CurrentView CurrentView CurrentView

Returns a View object representing the current view. Read-only.

CustomViewsOnly CustomViewsOnly 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.

DefaultItemType DefaultItemType DefaultItemType

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

DefaultMessageClass DefaultMessageClass DefaultMessageClass

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

Description Description Description

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

EntryID EntryID EntryID

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

FolderPath FolderPath FolderPath

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

Folders Folders Folders

Returns the Folders collection that represents all the folders contained in the specified Folder. Read-only.

FullFolderPath FullFolderPath FullFolderPath

This object, member, or enumeration is deprecated and is not intended to be used in your code.

InAppFolderSyncObject InAppFolderSyncObject 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.

IsSharePointFolder IsSharePointFolder IsSharePointFolder

Returns a Boolean (bool in C#) that determines if the folder is a Microsoft SharePoint Foundation folder. Read-only.

Items Items Items

Returns an Items collection object as a collection of Outlook items in the specified folder. Read-only.

MAPIOBJECT MAPIOBJECT MAPIOBJECT

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Name Name Name

Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

PropertyAccessor PropertyAccessor PropertyAccessor

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

Session Session Session

Returns the NameSpace object for the current session. Read-only.

ShowAsOutlookAB ShowAsOutlookAB ShowAsOutlookAB

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

ShowItemCount ShowItemCount 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.

Store Store Store

Returns a Store object representing the store that contains the Folder object. Read-only.

StoreID StoreID StoreID

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

UnReadItemCount UnReadItemCount UnReadItemCount

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

UserDefinedProperties UserDefinedProperties UserDefinedProperties

Returns a UserDefinedProperties object that represents the user-defined custom properties for the Folder object. Read-only.

UserPermissions UserPermissions UserPermissions

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Views Views Views

Returns the Views collection of the Folder object. Read-only.

WebViewAllowNavigation WebViewAllowNavigation WebViewAllowNavigation

This object, member, or enumeration is deprecated and is not intended to be used in your code.

WebViewOn WebViewOn WebViewOn

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

WebViewURL WebViewURL WebViewURL

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

Methods

AddToFavorites(Object, Object) AddToFavorites(Object, Object) AddToFavorites(Object, Object)

This object, member, or enumeration is deprecated and is not intended to be used in your code.

AddToPFFavorites() AddToPFFavorites() AddToPFFavorites()

Adds a Microsoft Exchange public folder to the public folder's Favorites folder.

CopyTo(MAPIFolder) CopyTo(MAPIFolder) CopyTo(MAPIFolder)

Copies the current folder in its entirety to the destination folder.

Delete() Delete() Delete()

Deletes an object from the collection.

Display() Display() Display()

Displays a new Explorer object for the folder.

GetCalendarExporter() GetCalendarExporter() GetCalendarExporter()

Creates a CalendarSharing object for the specified Folder.

GetCustomIcon() GetCustomIcon() GetCustomIcon()

Returns an stdole.StdPicture object that represents the custom icon for the folder.

GetExplorer(Object) GetExplorer(Object) GetExplorer(Object)

Returns an Explorer object that represents a new, inactive Explorer object initialized with the specified folder as the current folder.

GetStorage(String, OlStorageIdentifierType) GetStorage(String, OlStorageIdentifierType) GetStorage(String, OlStorageIdentifierType)

Gets a StorageItem object on the parent Folder to store data for an Outlook solution.

GetTable(Object, Object) GetTable(Object, Object) GetTable(Object, Object)

Obtains a Table object that contains items filtered by Filter.

MoveTo(MAPIFolder) MoveTo(MAPIFolder) MoveTo(MAPIFolder)

Moves a folder to the specified destination folder.

SetCustomIcon(StdPicture) SetCustomIcon(StdPicture) SetCustomIcon(StdPicture)

Sets a custom icon that is specified by Picture for the folder.

Applies to