Jaa


DistinguishedFolderIdNameType Enumeration

The DistinguishedFolderIdNameType enumeration identifies well-known Microsoft Exchange Server 2007 folders that can be referenced by name.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration DistinguishedFolderIdNameType
'Usage
Dim instance As DistinguishedFolderIdNameType
[SerializableAttribute]
public enum DistinguishedFolderIdNameType

Members

Member name Description
calendar Represents the Calendar folder.
contacts Represents the Contacts folder.
deleteditems Represents the Deleted Items folder.
drafts Represents the Drafts folder.
inbox Represents the Inbox folder.
journal Represents the Journal folder.
notes Represents the Notes folder.
outbox Represents the Outbox folder.
sentitems Represents the Sent Items folder.
tasks Represents the Tasks folder.
msgfolderroot Represents the message folder root.
publicfoldersroot
root Represents the root of the mailbox.
junkemail Represents the Junk E-mail folder.
searchfolders Represents the Search Folders folder. This is also an alias for the Finder folder.
voicemail Represents the Voice Mail folder.
recoverableitemsroot
recoverableitemsdeletions
recoverableitemsversions
recoverableitemspurges
archiveroot
archivemsgfolderroot
archivedeleteditems
archiverecoverableitemsroot
archiverecoverableitemsdeletions
archiverecoverableitemsversions
archiverecoverableitemspurges

Remarks

The DistinguishedFolderIdNameType enumeration values act as aliases for default folders in a mailbox. All folders that are identified by this enumeration can also be identified by a folder identifier.

Examples

The following code example from the Creating Folders (Exchange Web Services) topic shows you how the DistinguishedFolderIdNameType enumeration is used to identify a folder in a mailbox.

DistinguishedFolderIdType distFolder = new DistinguishedFolderIdType();
distFolder.Id = DistinguishedFolderIdNameType.inbox;
TargetFolderIdType targetID = new TargetFolderIdType();
targetID.Item = distFolder;

See Also

Reference

Other Resources