MailBee.NET Objects 4.0

MessageIndexCollection.AddSet Method 

Adds the specified sequence of message numbers or UIDs to the collection.

public void AddSet(
   string messageIndexSet
);

Parameters

messageIndexSet
The message sequence in IMAP4 format.

Remarks

The sequence to be parsed can contain the following characters only: digits (0-9), commas (,), and colon (:). Also, the sequence must be monotonically increasing. Examples of valid sequences: "1", "4:5,7,9", "1:135", "15,29".

Exceptions

Exception Type Condition
Exception The message sequence parsing failed.

See Also

MessageIndexCollection Class | MailBee.ImapMail Namespace