TMailboxes Delphi Reference
TMailboxes
Represents a collection of IMAP mailboxes.
Object Creation
var
obj: IMailboxes;
...
begin
// This object is never explicitly created.
// It is returned by various TChilkatImap methods.
obj := imapObject.someMethod(...);
Properties
property Count: Integer readonly
The number of mailboxes in the collection.
Note: The Mailboxes class is for use with the Chilkat IMAP component.
Methods
function GetName(index: Integer): WideString;
The name of the Nth mailbox in this collection. Indexing begins at 0. Returns a zero-length WideString on failure
function HasInferiors(index: Integer): Integer;
Returns 1 if the Nth mailbox has inferiors (i.e. sub-mailboxes)
function IsMarked(index: Integer): Integer;
Returns 1 if the Nth mailbox is marked.
function IsSelectable(index: Integer): Integer;
Returns 1 if the Nth mailbox is selectable.
|