MessageNumberCollectionParse Method
Creates a new MessageNumberCollection from the specified message number sequence.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public static MessageNumberCollection Parse(
	string messageNumberString
)

Parameters

messageNumberString
Type: SystemString
The string containing the sequence of ordinal message numbers in IMAP4 format.

Return Value

Type: MessageNumberCollection
A reference to the MessageNumberCollection object representing the specified message number sequence, or a null reference (Nothing in Visual Basic) if the message number sequence could not be parsed.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionmessageNumberString is a null reference (Nothing in Visual Basic).
Remarks
The messageNumberString must conform to the rules described in AddSet(String) method remarks.
See Also