Click or drag to resize
MimeKit

UniqueIdRange Class

A range of UniqueId items.
Inheritance Hierarchy
SystemObject
  MailKitUniqueIdRange

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public class UniqueIdRange : IList<UniqueId>, 
	ICollection<UniqueId>, IEnumerable<UniqueId>, IEnumerable

The UniqueIdRange type exposes the following members.

Constructors
 NameDescription
Public methodUniqueIdRange(UniqueId, UniqueId) Initializes a new instance of the UniqueIdRange class.
Public methodUniqueIdRange(UInt32, UInt32, UInt32) Initializes a new instance of the UniqueIdRange class.
Top
Properties
 NameDescription
Public propertyCount Get the number of unique identifiers in the range.
Public propertyEnd Get the end of the unique identifier range.
Public propertyIsReadOnly Get whether or not the range is read only.
Public propertyItem Gets or sets the unique identifier at the specified index.
Public propertyMax Gets the maximum unique identifier in the range.
Public propertyMin Gets the minimum unique identifier in the range.
Public propertyStart Get the start of the unique identifier range.
Public propertyValidity Gets the validity, if non-zero.
Top
Methods
 NameDescription
Public methodAdd Adds the unique identifier to the range.
Public methodClear Clears the list.
Public methodContains Checks if the range contains the specified unique id.
Public methodCopyTo Copies all of the unique ids in the range to the specified array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Gets an enumerator for the range of unique ids.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf Gets the index of the specified unique id, if it exists.
Public methodInsert Inserts the specified unique identifier at the given index.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Removes the unique identifier from the range.
Public methodRemoveAt Removes the unique identifier at the specified index.
Public methodToString Returns a String that represents the current UniqueIdRange.
(Overrides ObjectToString)
Public methodStatic memberTryParse(String, UniqueIdRange) Attempt to parse a unique identifier range.
Public methodStatic memberTryParse(String, UInt32, UniqueIdRange) Attempt to parse a unique identifier range.
Top
Fields
 NameDescription
Public fieldStatic memberAll A UniqueIdRange that encompases all messages in the folder.
Top
Remarks
When dealing with a large range, it is more efficient to use a UniqueIdRange than a typical IList<UniqueId>.
See Also