CkMailboxes C++ Class Reference (Visual C++)

CkMailboxes

Represents a collection of IMAP mailboxes.

Properties

long get_Count(void);

The number of mailboxes in the collection.

Note: The Mailboxes class is for use with the Chilkat IMAP component.

bool get_Utf8(void) const;
void put_Utf8(bool b);

When set to true, all "const char *" arguments are expected to be utf-8 strings. If set to false, the "const char *" arguments are expected to be ANSI strings.

Methods

bool GetName(long index, CkString & strName);

The name of the Nth mailbox in this collection. Indexing begins at 0.

Returns true for success, false for failure.

bool HasInferiors(long index);

Returns true if the Nth mailbox has inferiors (i.e. sub-mailboxes)

bool IsMarked(long index);

Returns true if the Nth mailbox is marked.

bool IsSelectable(long index);

Returns true if the Nth mailbox is selectable.

const char * getName(long index);

The name of the Nth mailbox in this collection. Indexing begins at 0.