Class MapiFolder
Inherited Members
Namespace: DRIT.Mail.Mapi
Assembly: DRIT.Mail.dll
Syntax
public class MapiFolder : AbstractMapiItem
Properties
View SourceAccessControlListData
Gets or sets the access control list (ACL) of the folder.
Declaration
public byte[] AccessControlListData { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.9 PidTagAccessControlListData Property
AddressBookEntryId
Gets or sets a Folder EntryID structure, as specified in [MS-OXCDATA] section 2.2.4.1, that specifies the name-service entry ID of a directory object that refers to a public folder. This property is set only for public folders.
Declaration
public byte[] AddressBookEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.4 PidTagAddressBookEntryId Property
AssociateContentCount
Gets or sets the count of items in the associated contents table of the folder.
Declaration
public int? AssociateContentCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
AttributeHidden
Gets or sets whether the folder is hidden. The value of this property is nonzero if the folder is hidden; the value is zero otherwise.
Declaration
public bool? AttributeHidden { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.1 PidTagAttributeHidden Property
Comment
Gets or sets a comment about the purpose or content of the folder. This property is present only if the client sets it when the folder is created.
Declaration
public string Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.2 PidTagComment Property
ContainerClass
Gets or sets the type of Message object that the folder contains. The value of this property MUST begin with "IPF.".
Declaration
public string ContainerClass { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.3 PidTagContainerClass Property
ContainerFlags
Gets or sets the container flags value.
Declaration
public int? ContainerFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ContainerHierarchy
Gets or sets the identifiers of the subfolders that are contained in the folder. The value of this property MUST begin with "IPF.".
Declaration
public byte[] ContainerHierarchy { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.4 PidTagContainerHierarchy Property
ContentCount
Gets or sets the number of messages in a folder, as computed by the message store.
Declaration
public int? ContentCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.1 PidTagContentCount Property
ContentUnreadCount
Gets or sets the number of unread messages in a folder, as computed by the message store.
Declaration
public int? ContentUnreadCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.2 PidTagContentUnreadCount Property
DeletedCountTotal
Gets or sets the total number of messages that have been deleted from a folder, excluding messages that have been deleted from the folder's subfolders.
Declaration
public int? DeletedCountTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.13 PidTagDeletedCountTotal Property
DeletedOn
Gets or sets the the time when the folder was soft deleted.
Declaration
public DateTime? DeletedOn { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.3 PidTagDeletedOn Property
DisplayName
Gets or sets the display name of the folder. Sibling folders MUST have unique display names.
Declaration
public override string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.5 PidTagDisplayName Property
FolderAssociatedContents
Gets or sets identifiers of the FAI messages that are contained in the folder.
Declaration
public byte[] FolderAssociatedContents { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.6 PidTagFolderAssociatedContents Property
FolderId
Gets or sets a FID structure ([MSOXCDATA] section 2.2.1.1) that uniquely identifies a folder.
Declaration
public long? FolderId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.5 PidTagFolderId Property
FolderType
Gets or sets the type of the folder.
Declaration
public int? FolderType { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
| Folder type | Value | Description |
|---|---|---|
| FOLDER_ROOT | 0 | The Root folder of the folder hierarchy table; that is, a folder that has no parent folder. |
| FOLDER_GENERIC | 1 | A generic folder that contains messages and other folders. |
| FOLDER_SEARCH | 2 | A folder that contains the results of a search, in the form of links to messages that meet search criteria. |
Reference: MS-OXCFOLD 2.2.2.2.2.7 PidTagFolderType Property
HierarchyChangeNumber
Gets or sets the number of subfolders in the folder. The value of this property monotonically increases every time a subfolder is added to or deleted from the folder.
Declaration
public int? HierarchyChangeNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.7 PidTagHierarchyChangeNumber Property
LocalCommitTime
Gets or sets the time, in Coordinated Universal Time (UTC), that the folder was last changed.
Declaration
public DateTime? LocalCommitTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.11 PidTagLocalCommitTime Property
LocalCommitTimeMax
Gets or sets the the most recent time that a top level object within a folder was changed. Top level objects include messages and subfolders within the folder but not objects within the folder's subfolders.
Declaration
public DateTime? LocalCommitTimeMax { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.12 PidTagLocalCommitTimeMax Property
MessageSize
Gets or sets the aggregate size of messages in the folder.
Declaration
public int? MessageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.8 PidTagMessageSize Property
MessageSizeExtended
Gets or sets the the 64-bit version of the MessageSize property.
Declaration
public long? MessageSizeExtended { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.9 PidTagMessageSizeExtended Property
ParentEntryId
Gets or sets a a Folder EntryID structure, as specified in [MS-OXCDATA] section 2.2.4.1, that specifies the entry ID of the folder that contains the message or subfolder.
Declaration
public byte[] ParentEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.6 PidTagParentEntryId Property
Rights
Gets or sets the the client's folder permissions.
Declaration
public int? Rights { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.2.8 PidTagRights Property
Subfolders
Gets or sets whether the folder has any subfolders. The value of this property is nonzero if the folder has subfolders; the value is zero otherwise.
Declaration
public bool? Subfolders { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Reference: MS-OXCFOLD 2.2.2.2.1.10 PidTagSubfolders Property