Selects specified folder (mailbox) as the current folder so that messages inside can be accessed.
Select command will remove the Recent flag since the folder has now been viewed
(This is not the same as the Seen IMAP flag).
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.12102.1426
Syntax
| C# |
|---|
public FolderStatus Select( FolderInfo folder ) |
| Visual Basic |
|---|
Public Function Select ( _ folder As FolderInfo _ ) As FolderStatus |
| Visual C++ |
|---|
public: FolderStatus^ Select( FolderInfo^ folder ) |
Parameters
- folder
- Type: Limilabs.Client.IMAP..::..FolderInfo
Folder to select.
Return Value
Status of the folder (mailbox). It can be updated by subsequent Noop()()()() or other commands.
Remarks
If folder.Flags contain XInbox this method invokes SelectInbox()()()() method.