FolderInfo Class

Represents information about personal folder in PST.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Storage.PstFolderInfo

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public sealed class FolderInfo

The FolderInfo type exposes the following members.

Constructors
  NameDescription
Public methodFolderInfo
Initializes a new instance of the FolderInfo class.
Properties
  NameDescription
Public propertyContainerClass
Gets container class of the folder object.
Public propertyContentCount
Gets the total number of items in the folder.
Public propertyContentUnreadCount
Gets the number of unread items in the folder.
Public propertyDisplayName
Gets the display name of folder.
Public propertyEntryId
Gets the entry ID.
Public propertyEntryIdString
Gets string representation of entry ID.
Public propertyHasSubFolders
Gets a value indicating whether the Folder object has any subfolders.
Public propertyLastModificationTime
Gets the last modification time.
Public propertyProperties
Gets the folder properties.
Methods
  NameDescription
Public methodAddFile
Adds a file into pst folder.
Public methodAddMapiMessageItem
Adds the IMapiMessageItem object into folder.
Public methodAddMessage
Adds a new message into folder.
Public methodAddMessages
Provides message adding in a bulk mode.
Public methodAddSubFolder(String)
Adds the new sub-folder.
Public methodAddSubFolder(String, Boolean)
Adds the new sub-folder.
Public methodAddSubFolder(String, String)
Adds the new subfolder.
Public methodChangeContainerClass
Changes the container class.
Public methodChangeDisplayName
Changes the display name.
Public methodChangeMessages(MapiPropertyCollection)
Changes all messages in folder.
Public methodChangeMessages(IEnumerableString, MapiPropertyCollection)
Changes the messages in folder.
Public methodDeleteChildItem
Deletes the item (folder or message) by it's entryId.
Public methodDeleteChildItems
Deletes the child messages.
Public methodEnumerateFolders
Exposes the enumerator, which supports an iteration of subfolders in folder.
Public methodEnumerateFolders(FolderKind)
Exposes the enumerator, which supports an iteration of subfolders in folder.
Public methodEnumerateMapiMessages
Exposes the enumerator, which supports an iteration of messages in folder.
Public methodEnumerateMessageObjects
Exposes the enumerator, which supports an iteration of messages in folder.
Public methodEnumerateMessages
Exposes the enumerator, which supports an iteration of messages in folder.
Public methodEnumerateMessagesEntryId
Enumerates the entryID of messages.
Public methodEquals (Inherited from Object.)
Public methodGetContents
Get collection of messages.
Public methodGetContents(Boolean)
Get collection of messages.
Public methodGetContents(MailQuery)
Get collection of messages.
Public methodGetContents(MessageKind)
Get collection of messages.
Public methodGetContents(Int32, Int32)
Gets the collection of messages.
Public methodGetHashCode (Inherited from Object.)
Public methodGetSubFolder(String)
Get subfolder.
Public methodGetSubFolder(String, Boolean)
Gets the subfolder.
Public methodGetSubFolders
Gets collection of subfolders.
Public methodGetSubFolders(FolderKind)
Gets collection of subfolders.
Public methodGetSubFolders(MailQuery)
Gets collection of subfolders.
Public methodGetType (Inherited from Object.)
Public methodMergeWith(FolderInfo)
Merges the folder with the folder from another pst.
Public methodMergeWith(FolderInfo, Boolean)
Merges the folder with the folder from another pst. OnItemMoved event is called on both messages and directories.
Public methodMoveContents
Moves the contents to a new folder.
Public methodMoveSubfolders
Moves the subfolders to a new parent folder.
Public methodRetrieveFullPath
Retrieves the full path of folder within the PST file.
Public methodToString (Inherited from Object.)
Public methodUpdateMessage
Updates the message in folder.
Events
  NameDescription
Public eventItemMoved
Occurs when an item is moved to the another folder.
Public eventMessageAdded
Occurs when a message is added to the current folder.
See Also