MailBee.NET Objects 4.0

UidCollection Class

Represents a list of UIDs of mail messages.

For a list of all members of this type, see UidCollection Members.

System.Object
   System.Collections.CollectionBase
      MailBee.ImapMail.MessageIndexCollection
         MailBee.ImapMail.UidCollection

public class UidCollection : MessageIndexCollection

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class implements MessageIndexCollection as a collection of Int64 values.

Note   In MailBee, UID is represented as a Int64 value. Actually, UID is a 32-bit unsigned value. Due to this, it's possible to get UID value which won't fit in the range of values allowed for Int32 type (which is 32-bit signed). Although .NET framework supports UInt32 type (32-bit unsigned), not all .NET languages support this type (i.e. it's not CLS-compliant). Also, with UInt32 it's not possible to represent negative values which are used by MailBee to represent invalid data (such as when certain value cannot be parsed).

Requirements

Namespace: MailBee.ImapMail

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

UidCollection Members | MailBee.ImapMail Namespace | MessageIndexCollection | MessageNumberCollection | Search