ILkFolder interface provides methods and properties to operate with a folder: list folder messages, create new messages and subfolders, move messages and folders, search subfolders.
The ILkFolder type exposes the following members.
Name | Description | |
---|---|---|
CopyMessage | Copies a message from one folder to another. | |
CreateFolder | Creates a new subfolder. | |
CreateMessage | Creates a new message. | |
DeleteAllMessages | Permanently removes all messages in a folder without moving to deleted items. | |
DeleteFolder | Deletes a subfolder by identifier. | |
DeleteMessage | Deletes a message by identifier. | |
FindFolder | Searches a folder identifier by a name. | |
GetFolderByRole | Retrieves a subfolder by role. | |
MarkAsJunk | Define a folder behaviour like a junk folder. | |
MoveMessage | Moves a message from the folder to another. | |
OpenMessage | Opens a email message by message identifier. | |
RenameFolder | Renames a subfolder by identifier. |
Name | Description | |
---|---|---|
Account | Returns account of the folder. | |
FolderId | Identifier of the folder. | |
FolderRole | Returns a folder role, like quick view, unread mail, unread news, drafts, inbox, junk, etc. | |
Folders | Returns collection of subfolders. | |
FolderType | Returns a type of the folder. It can be news, email or rss folder. | |
IsDeleted | Checks if this is a Deleted folder. | |
IsDraft | Checks if this is a Draft folder. | |
IsInbox | Checks if this is an Inbox folder. | |
IsJunk | Checks if this is a Junk folder. | |
IsOutbox | Checks if this is an Outbox folder. | |
IsSent | Checks if this is a Sent folder. | |
MessageCount | Returns number of messages in the folder. | |
Messages | Returns collection of messages in the folder. | |
Name | Gets or sets the folder name. | |
ParentFolderId | Retrieves identifier of the parent folder. | |
SelectedMessages | Retrieves a list of selected messages. | |
UnreadMessageCount | Returns number of unread messages. |